do not delete supervisord.pid (#2044)
This commit is contained in:
parent
9c5d6ad25c
commit
4822709000
|
@ -9,7 +9,7 @@ function fix
|
||||||
done
|
done
|
||||||
|
|
||||||
_notify 'inf' 'Removing leftover PID files from a stop/start'
|
_notify 'inf' 'Removing leftover PID files from a stop/start'
|
||||||
rm -rf /var/run/*.pid /var/run/*/*.pid
|
find /var/run/ -not -name 'supervisord.pid' -name '*.pid' -delete
|
||||||
touch /dev/shm/supervisor.sock
|
touch /dev/shm/supervisor.sock
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue