Fix process stopping
This commit is contained in:
parent
0951d36451
commit
e6c9c1251b
@ -50,7 +50,7 @@ fi
|
||||
if [ "$ACTION" = "stop" ] || [ "$ACTION" = "restart" ]
|
||||
then
|
||||
# Kill old liblersorf screen sessions
|
||||
echo "$SCREEN -ls" intradmin | $GREP '[0-9]+\.lerdorf_[a-zA-Z0-9_-]+' | $SU |
|
||||
echo "$SCREEN -ls" | $SU intradmin | $GREP '[0-9]+\.lerdorf_[a-zA-Z0-9_-]+' |
|
||||
while read LINE
|
||||
do
|
||||
SNAME=`echo $LINE | $SED "s/^[^0-9]*([0-9]+\.[^ \t]+).*$/\1/"`
|
||||
|
Reference in New Issue
Block a user