3
0
Fork 0
forked from mirrors/nixpkgs

* Connect Upstart to the system bus so that non-root users can run

initctl.

svn path=/nixos/trunk/; revision=32768
This commit is contained in:
Eelco Dolstra 2012-03-04 15:10:14 +00:00
parent 3c957bd921
commit 545f922e71

View file

@ -135,6 +135,13 @@ in
exec = "dbus-daemon --system";
postStart =
''
# Signal Upstart to connect to the system bus. This
# allows initctl to work for non-root users.
kill -USR1 1
'';
postStop =
''
# !!! Hack: doesn't belong here.