summaryrefslogtreecommitdiff
path: root/packaging/systemd
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2018-01-11 10:07:17 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-01-14 17:38:26 +0100
commitdf68af9fa5900b5f7b22a972666fd213fef17106 (patch)
tree4d2c6f20dec2298a12312f819bab170d9b1c40af /packaging/systemd
parent0abe16a5343de9a69bb5cccbad9809b28b642f45 (diff)
downloadsamba-df68af9fa5900b5f7b22a972666fd213fef17106.tar.gz
systemd: syslog.target is obsolete
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>
Diffstat (limited to 'packaging/systemd')
-rw-r--r--packaging/systemd/nmb.service.in2
-rw-r--r--packaging/systemd/samba.service.in2
-rw-r--r--packaging/systemd/smb.service.in2
-rw-r--r--packaging/systemd/winbind.service.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/packaging/systemd/nmb.service.in b/packaging/systemd/nmb.service.in
index b0ba92f2244..bfda34e092d 100644
--- a/packaging/systemd/nmb.service.in
+++ b/packaging/systemd/nmb.service.in
@@ -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
diff --git a/packaging/systemd/samba.service.in b/packaging/systemd/samba.service.in
index c4181509461..74ac68dc8cc 100644
--- a/packaging/systemd/samba.service.in
+++ b/packaging/systemd/samba.service.in
@@ -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
diff --git a/packaging/systemd/smb.service.in b/packaging/systemd/smb.service.in
index f829bcbaee5..fe151cce55b 100644
--- a/packaging/systemd/smb.service.in
+++ b/packaging/systemd/smb.service.in
@@ -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
diff --git a/packaging/systemd/winbind.service.in b/packaging/systemd/winbind.service.in
index 5ac5adc846f..f490103904b 100644
--- a/packaging/systemd/winbind.service.in
+++ b/packaging/systemd/winbind.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Samba Winbind Daemon
-After=syslog.target network.target nmb.service
+After=network.target nmb.service
[Service]
Type=notify