mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
delete pid file when stop service
This commit is contained in:
parent
23b04e2a57
commit
555d8b9f1d
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ stop() {
|
|||
sleep 0.1
|
||||
else
|
||||
ok_msg "SRS stopped"
|
||||
# delete the pid file when stop success.
|
||||
rm -f ${pid_file}
|
||||
break;
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue