summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-18 05:17:02 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-18 05:17:02 +0100
commita0e155d440173ba524918cb3800350b452952082 (patch)
tree34e4029231e7436403b0cee11f321a4a7a21b83e
parentd94ac66d3232054f1249821e74badeb4c99ae60e (diff)
units: pull in syslog.target from syslog.socket
-rw-r--r--TODO6
-rw-r--r--units/syslog.socket3
2 files changed, 4 insertions, 5 deletions
diff --git a/TODO b/TODO
index 4191e5586d..297d616e8d 100644
--- a/TODO
+++ b/TODO
@@ -23,11 +23,7 @@ F15:
* 0595f9a1c182a84581749823ef47c5f292e545f9 is borked, freezes shutdown
(path: after installing inotify watches, recheck file again to fix race)
-* rsyslog.service should hook itself into syslog.target?
-
-* syslog.target should be pulled in by multi-user.target?
-
-* pull in .service from meta .targers AND vice versa too. i.e. syslog.target ←→ rsyslog.service, rpcbind similarly
+* NM should pull in network.target, ntpd should pull in rtc-set.target.
* document default dependencies
diff --git a/units/syslog.socket b/units/syslog.socket
index d4bbc4d9f1..500bb7c314 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -12,6 +12,9 @@ Description=Syslog Socket
DefaultDependencies=no
Before=sockets.target syslog.target
+# Pull in syslog.target to tell people that /dev/log is now accessible
+Wants=syslog.target
+
[Socket]
ListenDatagram=/dev/log
SocketMode=0666