summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-23 13:44:13 +0200
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:03 +0200
commit20784e9c5c10c446734eef173d2223f1001d1973 (patch)
tree14a595374fab686b44740b1dd35662ff772bf4a9 /packaging/RHEL-CTDB
parent47dbecf35a9e9b8817908ad6b5dde461bcb89140 (diff)
downloadsamba-20784e9c5c10c446734eef173d2223f1001d1973.tar.gz
samba-20784e9c5c10c446734eef173d2223f1001d1973.tar.bz2
samba-20784e9c5c10c446734eef173d2223f1001d1973.zip
packaging(RHEL-CTDB): add "service winbind condrestart" to "%post common"
Michael (This used to be commit c0ecb63d9e7b11bb5c31bdf95605d68c02206220)
Diffstat (limited to 'packaging/RHEL-CTDB')
-rw-r--r--packaging/RHEL-CTDB/samba.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec
index 189821da49..e76dce8e16 100644
--- a/packaging/RHEL-CTDB/samba.spec
+++ b/packaging/RHEL-CTDB/samba.spec
@@ -360,6 +360,10 @@ fi
%post common
/sbin/ldconfig
+if [ "$1" -ge "1" ]; then
+ /sbin/service winbind condrestart >/dev/null 2>&1 || :
+fi
+
%preun common
if [ $1 = 0 ] ; then
/sbin/service winbind stop >/dev/null 2>&1 || :