Update snappea PID_FILE default location to be in bugsink-specific directory

See #195
This commit is contained in:
Klaas van Schelven
2025-09-01 20:30:03 +02:00
parent 4ad3c5efcf
commit 41944a8cf0
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ SNAPPEA = {
"NUM_WORKERS": 1,
# no_bandit_expl: development setting, we know that this is insecure
"PID_FILE": "/tmp/snappea.pid", # nosec B108
"PID_FILE": "/tmp/bugsink/snappea.pid", # nosec B108
}
EMAIL_HOST = os.getenv("EMAIL_HOST")

View File

@@ -5,7 +5,7 @@ DEFAULTS = {
"TASK_ALWAYS_EAGER": False,
# no_bandit_expl: monitored in #195
"PID_FILE": "/tmp/snappea.pid", # nosec
"PID_FILE": "/tmp/bugsink/snappea.pid", # nosec
# no_bandit_expl: the usage of this path (in the foreman) is protected with `b108_makedirs`
"WAKEUP_CALLS_DIR": "/tmp/snappea.wakeup", # nosec