chore: make permission adjustments happen on restart too

Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
georglauterbach 2025-01-19 10:51:51 +01:00
parent fbba865c6c
commit a6fe9f5bcc
No known key found for this signature in database
GPG key ID: F367F7C43C118578
2 changed files with 5 additions and 3 deletions

View file

@ -82,7 +82,7 @@ function _setup_timezone() {
fi
}
function _setup_apply_fixes_after_configuration() {
function _setup_directory_and_file_permissions() {
_log 'trace' 'Removing leftover PID files from a stop/start'
find /var/run/ -not -name 'supervisord.pid' -name '*.pid' -delete
touch /dev/shm/supervisor.sock