NixOS/nixpkgs — pull request #3359 by bjornfor (2014-07-24 10:24:56+00:00)
Title: nixos/munin: change activationScript to preStart script

All activation scripts run in serial upon boot and nixos-rebuild switch
etc., in contrast to preStart which run before a service starts, and can
run in parallel with other services.

The munin(-node) activation script is particularly slow. Change it to a
preStart script so that it can run in parallel with other services and
not slow down boot (or nixos-rebuild switch).

This reduces (repeated) "nixos-rebuild test" time from ~16 seconds to ~8
on my (old) laptop.

CC: @iElectric -- I assume you approve, but just in case... I don't remember why we ended up using an activationScript in the first place...