summaryrefslogtreecommitdiff
path: root/packaging/Fedora/winbind.init
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Fedora/winbind.init')
-rw-r--r--packaging/Fedora/winbind.init6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/Fedora/winbind.init b/packaging/Fedora/winbind.init
index ced81135b2..05e0eb4d00 100644
--- a/packaging/Fedora/winbind.init
+++ b/packaging/Fedora/winbind.init
@@ -49,9 +49,11 @@ stop() {
echo
KIND="Winbind"
echo -n $"Shutting down $KIND services: "
- killproc winbindd
+ killproc winbindd -TERM
RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/winbindd
+ [ $RETVAL -eq 0 ] \
+ && && rm -f /var/run/nmbd.pid \
+ && rm -f /var/lock/subsys/winbindd
echo ""
return $RETVAL
}