diff options
author | Michael Adam <obnox@samba.org> | 2008-05-23 13:44:13 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-13 11:54:03 +0200 |
commit | c0ecb63d9e7b11bb5c31bdf95605d68c02206220 (patch) | |
tree | 67e1507727bcc5db2ff4e947fbc82cc0a3dcc846 /packaging | |
parent | 58085063c46f3c55c8aebc83bb79a2dd19f73622 (diff) | |
download | samba-c0ecb63d9e7b11bb5c31bdf95605d68c02206220.tar.gz |
packaging(RHEL-CTDB): add "service winbind condrestart" to "%post common"
Michael
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/RHEL-CTDB/samba.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec index 189821da49c..e76dce8e16b 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 || : |