diff --git a/bugsink/settings/development.py b/bugsink/settings/development.py index 713f688..b575de7 100644 --- a/bugsink/settings/development.py +++ b/bugsink/settings/development.py @@ -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") diff --git a/snappea/settings.py b/snappea/settings.py index 07f933e..133a29d 100644 --- a/snappea/settings.py +++ b/snappea/settings.py @@ -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