mirror of https://github.com/openspug/spug
40 lines
1.0 KiB
INI
40 lines
1.0 KiB
INI
; # Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
|
|
; # Copyright: (c) <spug.dev@gmail.com>
|
|
; # Released under the AGPL-3.0 License.
|
|
|
|
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:redis]
|
|
command = bash -c 'redis-server'
|
|
autostart = true
|
|
|
|
[program:spug-api]
|
|
command = bash /spug/spug_api/tools/start-api.sh
|
|
autostart = true
|
|
stdout_logfile = /spug/spug_api/logs/api.log
|
|
redirect_stderr = true
|
|
|
|
[program:spug-ws]
|
|
command = bash /spug/spug_api/tools/start-ws.sh
|
|
autostart = true
|
|
stdout_logfile = /spug/spug_api/logs/ws.log
|
|
redirect_stderr = true
|
|
|
|
[program:spug-worker]
|
|
command = bash /spug/spug_api/tools/start-worker.sh
|
|
autostart = true
|
|
stdout_logfile = /spug/spug_api/logs/worker.log
|
|
redirect_stderr = true
|
|
|
|
[program:spug-monitor]
|
|
command = bash /spug/spug_api/tools/start-monitor.sh
|
|
autostart = true
|
|
stdout_logfile = /spug/spug_api/logs/monitor.log
|
|
redirect_stderr = true
|
|
|
|
[program:spug-scheduler]
|
|
command = bash /spug/spug_api/tools/start-scheduler.sh
|
|
autostart = true
|
|
stdout_logfile = /spug/spug_api/logs/scheduler.log
|
|
redirect_stderr = true |