mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
[supervisord]
|
|
nodaemon=false
|
|
logfile=/var/log/supervisord.log
|
|
logfile_maxbytes=50MB
|
|
logfile_backups=10
|
|
loglevel=info
|
|
user=root
|
|
|
|
[program:apphub]
|
|
command=uvicorn src.main:app --host 0.0.0.0 --port 8080
|
|
autostart=false
|
|
user=root
|
|
directory=/websoft9/apphub
|
|
stdout_logfile=/var/log/supervisord.log
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/var/log/supervisord.log
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:apphubdev]
|
|
command=/websoft9/script/developer.sh
|
|
autostart=false
|
|
user=root
|
|
stdout_logfile=/var/log/supervisord.log
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/var/log/supervisord.log
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:cron]
|
|
command=cron -f
|
|
autostart=true
|
|
user=root
|
|
stdout_logfile=/var/log/supervisord.log
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/var/log/supervisord.log
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:media]
|
|
command=uvicorn src.media:app --host 0.0.0.0 --port 8081
|
|
autostart=true
|
|
user=root
|
|
directory=/websoft9/apphub
|
|
stdout_logfile=/var/log/supervisord.log
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/var/log/supervisord.log
|
|
stderr_logfile_maxbytes=0 |