mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02: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
bba13d80f7
commit
be3b6db207
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue