diff --git a/docker-dev/cron/root b/docker-dev/cron/root index 2d04f06..769f64d 100644 --- a/docker-dev/cron/root +++ b/docker-dev/cron/root @@ -1 +1 @@ -* * * * * php /data/httpd/ECShopX/artisan schedule:run >> /dev/null 2>&1 +* * * * * sudo -u www-data php /data/httpd/ECShopX/artisan schedule:run >> /dev/null 2>&1 diff --git a/docker-dev/supervisor/super-queue.ini b/docker-dev/supervisor/super-queue.ini index 53d16d8..f2d025f 100644 --- a/docker-dev/supervisor/super-queue.ini +++ b/docker-dev/supervisor/super-queue.ini @@ -6,7 +6,7 @@ process_name=%(program_name)s_%(process_num)02d autostart=true autorestart=true numprocs=3 -user=root +user=www-data startsecs=3 startretries=100000 @@ -18,7 +18,7 @@ process_name=%(program_name)s_%(process_num)02d autostart=true autorestart=true numprocs=5 -user=root +user=www-data startsecs=3 startretries=100000 @@ -30,7 +30,7 @@ process_name=%(program_name)s_%(process_num)02d autostart=true autorestart=true numprocs=2 -user=root +user=www-data startsecs=3 startretries=100000 @@ -42,7 +42,7 @@ process_name=%(program_name)s_%(process_num)02d autostart=true autorestart=true numprocs=4 -user=root +user=www-data startsecs=3 startretries=100000 @@ -54,6 +54,6 @@ process_name=%(program_name)s_%(process_num)02d autostart=true autorestart=true numprocs=2 -user=root +user=www-data startsecs=3 startretries=100000