From 2b0d3db90a2630417d762a8f75cb9b113fd0258c Mon Sep 17 00:00:00 2001 From: tcely Date: Thu, 29 May 2025 00:33:07 -0400 Subject: [PATCH] Create huey-database/run --- config/root/etc/s6-overlay/s6-rc.d/huey-database/run | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/root/etc/s6-overlay/s6-rc.d/huey-database/run diff --git a/config/root/etc/s6-overlay/s6-rc.d/huey-database/run b/config/root/etc/s6-overlay/s6-rc.d/huey-database/run new file mode 100644 index 00000000..c803c4c3 --- /dev/null +++ b/config/root/etc/s6-overlay/s6-rc.d/huey-database/run @@ -0,0 +1,5 @@ +#!/command/with-contenv bash + +exec nice -n "${TUBESYNC_NICE:-1}" s6-setuidgid app \ + /usr/bin/python3 /app/manage.py djangohuey \ + --queue database