mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 20:43:28 +00:00
* 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";
|
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 =
|
postStop =
|
||||||
''
|
''
|
||||||
# !!! Hack: doesn't belong here.
|
# !!! Hack: doesn't belong here.
|
||||||
|
@ -311,6 +311,10 @@ in
|
|||||||
target = "init/${job.name}.conf";
|
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
|
# !!! fix this
|
||||||
/*
|
/*
|
||||||
tests.upstartJobs = { recurseForDerivations = true; } //
|
tests.upstartJobs = { recurseForDerivations = true; } //
|
||||||
|
Loading…
Reference in New Issue
Block a user