Skip to content

Commit b80350c

Browse files
committed
Fix user
1 parent 1ac6ed4 commit b80350c

File tree

2 files changed

+2
-2
lines changed
  • root/etc/s6-overlay/s6-rc.d

2 files changed

+2
-2
lines changed

root/etc/s6-overlay/s6-rc.d/svc-api/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# shellcheck shell=bash
33

44
exec s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 5000" \
5-
cd /app gunicorn api:api -b 0.0.0.0:5000 -w 4 --timeout 15
5+
cd /app s6-setuidgid abc gunicorn api:api -b 0.0.0.0:5000 -w 4 --timeout 15 --log-level warning

root/etc/s6-overlay/s6-rc.d/svc-updater/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# shellcheck shell=bash
33

44
exec s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 5000" \
5-
cd /app python -u /app/updater.py
5+
cd /app s6-setuidgid abc python -u /app/updater.py

0 commit comments

Comments
 (0)