diff options
Diffstat (limited to 'install/supervisor.template')
-rw-r--r-- | install/supervisor.template | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/install/supervisor.template b/install/supervisor.template new file mode 100644 index 000000000..99bfe8e34 --- /dev/null +++ b/install/supervisor.template @@ -0,0 +1,10 @@ +[program:celery_#APP_NAME#] +command=/usr/bin/celery -A #APP_NAME# worker --loglevel=INFO -c 6 +directory=#INSTALL_PATH# +user=www-data +autostart=true +autorestart=true +stdout_logfile=/var/log/celery/#APP_NAME#.log +redirect_stderr=true +stopasgroup=true + |