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:
Yassine Doghri 2024-10-03 13:16:26 +00:00
parent bba13d80f7
commit be3b6db207
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
nodaemon=true
[program:supercronic]
user=www-data
command=supercronic /crontab.txt
autostart=true
autorestart=unexpected

View File

@ -2,6 +2,7 @@
nodaemon=true
[program:supercronic]
user=www-data
command=supercronic /crontab.txt
autostart=true
autorestart=unexpected