do not delete supervisord.pid (#2044)

This commit is contained in:
Casper 2021-06-19 14:01:38 +02:00 committed by GitHub
parent 9c5d6ad25c
commit 4822709000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function fix
done
_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
}