single-server template, warn about containing-dir

for snappea PID_FILE

See #195
This commit is contained in:
Klaas van Schelven
2025-09-01 20:39:39 +02:00
parent 3a050e7533
commit b911acebdc
2 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,8 @@ SNAPPEA = {
"PID_FILE": None,
# alternatively (if you don't trust systemd to get at most one snappea foreman running; or if you don't use systemd
# at all), use the below:
# at all), use the below. Make sure the file is in a directory owned by the user running bugsink/snappea (the
# directory will be created if it does not exist yet).
# "PID_FILE": "{{ base_dir }}/snappea/snappea.pid",
"WAKEUP_CALLS_DIR": "{{ base_dir }}/snappea/wakeup",

View File

@@ -65,7 +65,7 @@ SNAPPEA = {
"TASK_ALWAYS_EAGER": True, # at least for (unit) tests, this is a requirement
"NUM_WORKERS": 1,
# no_bandit_expl: development setting, we know that this is insecure
# no_bandit_expl: development setting, we know that this is insecure "in theory" at least
"PID_FILE": "/tmp/bugsink/snappea.pid", # nosec B108
}