diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-11-25 16:32:54 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-11-25 16:32:54 +0000 |
commit | 8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee (patch) | |
tree | 5bf93ac9389272d9d947ef252ba643f8fba3a609 /modules/services/hardware/acpid.nix | |
parent | 1d5d7036d0119fa348039e7b2b745c8f4b7e0f4a (diff) | |
download | nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.tar nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.tar.gz nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.tar.bz2 nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.tar.lz nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.tar.xz nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.tar.zst nixpkgs-8eba736da9e6d7ff389554c3f6e0ca5ac089e3ee.zip |
* Use the ‘path’ attribute in Upstart jobs in more places. It's a bit
more readable (also in "ps" output). svn path=/nixos/trunk/; revision=30565
Diffstat (limited to 'modules/services/hardware/acpid.nix')
-rw-r--r-- | modules/services/hardware/acpid.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/services/hardware/acpid.nix b/modules/services/hardware/acpid.nix index 84680bd3532..303db3816b5 100644 --- a/modules/services/hardware/acpid.nix +++ b/modules/services/hardware/acpid.nix @@ -99,7 +99,11 @@ in startOn = "stopped udevtrigger and started syslogd"; - exec = "${pkgs.acpid}/sbin/acpid --foreground --confdir ${acpiConfDir}"; + path = [ pkgs.acpid ]; + + daemonType = "fork"; + + exec = "acpid --confdir ${acpiConfDir}"; }; }; |