mirror of
https://github.com/optim-enterprises-bv/Mailu-OIDC.git
synced 2025-11-02 02:57:49 +00:00
Make sure stale pid files are dealt with, fix #341
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
# Check if a stale pid file exists
|
||||
if os.path.exists("/var/log/nginx.pid"):
|
||||
os.remove("/var/log/nginx.pid")
|
||||
|
||||
# Actual startup script
|
||||
if not os.path.exists("/certs/dhparam.pem") and os.environ["TLS_FLAVOR"] != "notls":
|
||||
|
||||
Reference in New Issue
Block a user