seahi 1b2b268c41
Some checks failed
continuous-integration/drone/push Build is failing
通过drone自动构建
2025-04-16 09:18:47 +08:00

23 lines
575 B
Plaintext

[supervisord]
# 设置是否在前台启动
nodaemon=true
# 关闭supervisor自身的日志
logfile=/dev/null
loglevel=error
logfile_maxbytes=0
# 定义被管理的进程
[program:weather_report]
command=/bin/bash /scripts/weather_report.sh
stdout_logfile=/dev/stdout # 将标准输出重定向到容器标准输出
stdout_logfile_maxbytes=0
stdout_events_enabled=false
[program:news_broadcast]
command=/bin/bash /scripts/news_broadcast.sh
stdout_logfile=/dev/stdout # 将标准输出重定向到容器标准输出
stdout_logfile_maxbytes=0
stdout_events_enabled=false