Remove dead code

This commit is contained in:
Eelco Dolstra 2013-10-27 23:36:41 +01:00
parent df4a3cc9f9
commit 41c8f9598e

View File

@ -122,7 +122,7 @@ in
[Socket]
ListenStream=/var/run/dbus/system_bus_socket
'';
systemd.units."dbus.service".text =
''
[Unit]
@ -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";