mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix: set user as www-data when running cron jobs in docker's supervisord config
This prevents any ownership issue when cron tasks create cache files
This commit is contained in:
parent
1667f5b202
commit
65d74f14e6
@ -2,6 +2,7 @@
|
|||||||
nodaemon=true
|
nodaemon=true
|
||||||
|
|
||||||
[program:supercronic]
|
[program:supercronic]
|
||||||
|
user=www-data
|
||||||
command=supercronic /crontab.txt
|
command=supercronic /crontab.txt
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=unexpected
|
autorestart=unexpected
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
nodaemon=true
|
nodaemon=true
|
||||||
|
|
||||||
[program:supercronic]
|
[program:supercronic]
|
||||||
|
user=www-data
|
||||||
command=supercronic /crontab.txt
|
command=supercronic /crontab.txt
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=unexpected
|
autorestart=unexpected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user