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 1667f5b202
commit 65d74f14e6
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