systemd: Fix kill path
authorMathieu Parent <math.parent@gmail.com>
Thu, 12 May 2016 20:16:24 +0000 (22:16 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Sun, 14 Jan 2018 16:38:26 +0000 (17:38 +0100)
Bug-Debian: https://bugs.debian.org/828730

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 b5c2019..a308123 100644 (file)
@@ -10,7 +10,7 @@ NotifyAccess=all
 PIDFile=@PIDDIR@/nmbd.pid
 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
 ExecStart=@SBINDIR@/nmbd --foreground --no-process-group $NMBDOPTIONS
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 LimitCORE=infinity
 @systemd_nmb_extra@
 
index fcbb27f..f8ea527 100644 (file)
@@ -11,7 +11,7 @@ PIDFile=@PIDDIR@/samba.pid
 LimitNOFILE=16384
 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
 ExecStart=@SBINDIR@/samba --foreground --no-process-group $SAMBAOPTIONS
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 @systemd_samba_extra@
 
 [Install]
index fabe3f3..dcaf7ef 100644 (file)
@@ -10,7 +10,7 @@ PIDFile=@PIDDIR@/smbd.pid
 LimitNOFILE=16384
 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
 ExecStart=@SBINDIR@/smbd --foreground --no-process-group $SMBDOPTIONS
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 LimitCORE=infinity
 @systemd_smb_extra@
 
index 703fd96..c28d94c 100644 (file)
@@ -9,7 +9,7 @@ NotifyAccess=all
 PIDFile=@PIDDIR@/winbindd.pid
 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
 ExecStart=@SBINDIR@/winbindd --foreground --no-process-group "$WINBINDOPTIONS"
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID
 LimitCORE=infinity
 @systemd_winbind_extra@