* Connect Upstart to the system bus.
svn path=/nixos/branches/upstart-0.6/; revision=18213
This commit is contained in:
parent
9fa2f12cc2
commit
b9bfe7ed43
@ -130,6 +130,12 @@ in
|
||||
|
||||
exec = "${dbus}/bin/dbus-daemon --config-file=${configDir}/system.conf";
|
||||
|
||||
postStart =
|
||||
''
|
||||
# Signal Upstart that it can connect to the system bus.
|
||||
kill -HUP 1 || true
|
||||
'';
|
||||
|
||||
postStop =
|
||||
''
|
||||
# !!! Hack: doesn't belong here.
|
||||
|
@ -311,6 +311,10 @@ in
|
||||
target = "init/${job.name}.conf";
|
||||
} );
|
||||
|
||||
# Upstart can listen on the system bus, allowing normal users to
|
||||
# do status queries.
|
||||
services.dbus.packages = [ upstart ];
|
||||
|
||||
# !!! fix this
|
||||
/*
|
||||
tests.upstartJobs = { recurseForDerivations = true; } //
|
||||
|
Loading…
Reference in New Issue
Block a user