packaging(RHEL-CTDB): use "/sbin/service smb" instead of "%{initdir}/smb"
authorMichael Adam <obnox@samba.org>
Fri, 23 May 2008 10:52:21 +0000 (12:52 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:54:03 +0000 (11:54 +0200)
Michael
(This used to be commit 58085063c46f3c55c8aebc83bb79a2dd19f73622)

packaging/RHEL-CTDB/samba.spec

index afe90ec5beb2c99f913c8d63dd2fe2d20e5638f1..189821da49c6f8a1e37685cf78ecfa270bb02aed 100644 (file)
@@ -338,7 +338,7 @@ if [ "$1" -eq "2" ]; then
 fi
 
 if [ "$1" -ge "1" ]; then
-       %{initdir}/smb condrestart >/dev/null 2>&1 || :
+       /sbin/service smb condrestart >/dev/null 2>&1 || :
 fi
 
 %preun