systemd: syslog.target is obsolete
authorMathieu Parent <math.parent@gmail.com>
Thu, 11 Jan 2018 09:07:17 +0000 (10:07 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Sun, 14 Jan 2018 16:38:26 +0000 (17:38 +0100)
After=syslog.target is unnecessary by now because syslog is
socket-activated and will therefore be started when needed.

Ref: https://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-target.html

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
packaging/systemd/nmb.service.in
packaging/systemd/samba.service.in
packaging/systemd/smb.service.in
packaging/systemd/winbind.service.in

index b0ba92f..bfda34e 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=Samba NMB Daemon
 Wants=network-online.target
-After=syslog.target network.target network-online.target
+After=network.target network-online.target
 
 [Service]
 Type=notify
index c418150..74ac68d 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=Samba AD Daemon
 Wants=network-online.target
-After=syslog.target network.target network-online.target
+After=network.target network-online.target
 
 [Service]
 Type=notify
index f829bcb..fe151cc 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=Samba SMB Daemon
-After=syslog.target network.target nmb.service winbind.service
+After=network.target nmb.service winbind.service
 
 [Service]
 Type=notify
index 5ac5adc..f490103 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=Samba Winbind Daemon
-After=syslog.target network.target nmb.service
+After=network.target nmb.service
 
 [Service]
 Type=notify