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:
parent
3c957bd921
commit
545f922e71
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue