From: Lennart Poettering Date: Fri, 18 Mar 2011 04:17:02 +0000 (+0100) Subject: units: pull in syslog.target from syslog.socket X-Git-Tag: v21~38 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e155d440173ba524918cb3800350b452952082;p=systemd units: pull in syslog.target from syslog.socket --- diff --git a/TODO b/TODO index 4191e558..297d616e 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 d4bbc4d9..500bb7c3 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