summaryrefslogtreecommitdiff
path: root/units/syslog.socket
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-16 21:09:03 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-16 21:34:09 +0100
commit5d4caf565471ff3401bd9b53aa814c8545a18a93 (patch)
tree1e6dc444c24402a81d1d895a9698b80ae110e6a0 /units/syslog.socket
parenta485210ce73fe1186fdc5fae481dc31773e14b3c (diff)
downloadsystemd-5d4caf565471ff3401bd9b53aa814c8545a18a93.tar.gz
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.socket5
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