Files
tubesync/config/root/etc/s6-overlay/s6-rc.d/tubesync-worker/run
tcely d34e1a204e Set a default nice level
Now that SponsorBlock is running, these jobs are using significant CPU resources.

Setting a nice level to let other things run better while `ffmpeg` is running seems wise.
2025-01-27 16:12:52 -05:00

5 lines
134 B
Plaintext
Executable File

#!/command/with-contenv bash
exec nice -n "${TUBESYNC_NICE:-1}" s6-setuidgid app \
/usr/bin/python3 /app/manage.py process_tasks