diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-01-16 21:09:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-01-16 21:34:09 +0100 |
commit | 5d4caf565471ff3401bd9b53aa814c8545a18a93 (patch) | |
tree | 1e6dc444c24402a81d1d895a9698b80ae110e6a0 /units/syslog.socket | |
parent | a485210ce73fe1186fdc5fae481dc31773e14b3c (diff) |
service: ignore dependencies on $syslog and $local_fs in LSB scripts
We no longer allow early-boot init scripts, however in late boot the
syslog socket and local mounts are established anyway, so let's simplify
our dep graph a bit.
If $syslog doesn't resolve to syslog.target anymore there's no reason to
keep syslog.target around anymore. Let's remove it.
Note that many 3rd party service unit files order themselves after
syslog.target. These will be dangling dependencies now, which should be
unproblematic, however.
Diffstat (limited to 'units/syslog.socket')
-rw-r--r-- | units/syslog.socket | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/units/syslog.socket b/units/syslog.socket index c784357627..e6e9cf8525 100644 --- a/units/syslog.socket +++ b/units/syslog.socket @@ -10,14 +10,11 @@ Description=Syslog Socket Documentation=man:systemd.special(7) Documentation=http://www.freedesktop.org/wiki/Software/systemd/syslog DefaultDependencies=no -Before=sockets.target syslog.target shutdown.target +Before=sockets.target shutdown.target # Don't allow logging until the very end Conflicts=shutdown.target -# Pull in syslog.target to tell people that /dev/log is now accessible -Wants=syslog.target - [Socket] ListenDatagram=/run/systemd/journal/syslog SocketMode=0666 |