forked from mirrors/nixpkgs
Remove dead code
This commit is contained in:
parent
df4a3cc9f9
commit
41c8f9598e
|
@ -137,41 +137,6 @@ in
|
|||
OOMScoreAdjust=-900
|
||||
'';
|
||||
|
||||
/*
|
||||
jobs.dbus =
|
||||
{ startOn = "started udev and started syslogd";
|
||||
|
||||
restartIfChanged = false;
|
||||
|
||||
path = [ pkgs.dbus_daemon pkgs.dbus_tools ];
|
||||
|
||||
preStart =
|
||||
''
|
||||
mkdir -m 0755 -p ${homeDir}
|
||||
chown messagebus ${homeDir}
|
||||
|
||||
mkdir -m 0755 -p /var/lib/dbus
|
||||
dbus-uuidgen --ensure
|
||||
|
||||
rm -f ${homeDir}/pid
|
||||
'';
|
||||
|
||||
daemonType = "fork";
|
||||
|
||||
exec = "dbus-daemon --system";
|
||||
|
||||
postStop =
|
||||
''
|
||||
# !!! Hack: doesn't belong here.
|
||||
pid=$(cat /var/run/ConsoleKit/pid || true)
|
||||
if test -n "$pid"; then
|
||||
kill $pid || true
|
||||
rm -f /var/run/ConsoleKit/pid
|
||||
fi
|
||||
'';
|
||||
};
|
||||
*/
|
||||
|
||||
security.setuidOwners = singleton
|
||||
{ program = "dbus-daemon-launch-helper";
|
||||
source = "${pkgs.dbus_daemon}/libexec/dbus-daemon-launch-helper";
|
||||
|
|
Loading…
Reference in a new issue