* Connect Upstart to the system bus.

svn path=/nixos/branches/upstart-0.6/; revision=18213
This commit is contained in:
Eelco Dolstra 2009-11-06 15:59:23 +00:00
parent 9fa2f12cc2
commit b9bfe7ed43
2 changed files with 10 additions and 0 deletions

View File

@ -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.

View File

@ -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; } //