mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-09 23:51:20 +00:00
Update snappea PID_FILE default location to be in bugsink-specific directory
See #195
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user