Revision feb3ea66
Added by Benoît PECCATTE about 6 years ago
rudder-inventory-ldap/SOURCES/rudder-inventory-ldap.init | ||
---|---|---|
return 1
|
||
else
|
||
PID=`cat $SLAPD_PID_FILE`
|
||
if [ ! -f /proc/$PID ]
|
||
then
|
||
message "info" "[INFO] can't read PID file, to stop rudder-slapd try: $0 forcestop"
|
||
return 1
|
||
fi
|
||
kill -INT $PID
|
||
|
||
# Waiting loop
|
Also available in: Unified diff
Fixes #10498: Stopping slapd fails if pid file is empty