Skip to content
Snippets Groups Projects
Commit 65d74f14 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

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
parent 1667f5b2
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -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 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment