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 | 20784e9c5c10c446734eef173d2223f1001d1973 (patch) | |
tree | 14a595374fab686b44740b1dd35662ff772bf4a9 | |
parent | 47dbecf35a9e9b8817908ad6b5dde461bcb89140 (diff) | |
download | samba-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)
-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 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 || : |