
supervisor Error: File contains no section headers的解决方法
之前一直使用的supervisor配置文件好好的 使用rsync迁移到新的主机后就莫名的出现了下面的错误
supervisor Error: File contains no section headers
后来找资料好久,才发现配置文件被更改了
正常的supervisor配置文件开始应该是下面这样的
1
2
3
4
5
6
7
8
[program:demogolang]
command=/var/run/golang -c /var/demo/demo.conf
startsecs=0
stopwaitsecs=0
autostart=false
autorestart=true
stdout_logfile=/tmp/demon.log
stderr_logfile=/tmp/demon.err
就是因为少了[program:demogolang]
导致了supervisor Error: File contains no section headers
的错误。
💘 相关文章
- supervisor ERROR (spawn error)的解决方法
- freebsd 系统正确安装Supervisor的方法
- supervisor 一些常用的命令
- truenas出现"pkg: file:///usr/ports/packages/packagesite.pkg: No such file or directory"的解决方法
- linux stdio.h: No such file or directory的解决方法
- brew cask "Error: Unknown command: cask?"的解决方法
- rclone error listing directory not found的解决方法
- ERROR 1054 (42S22): Unknown column 'id' in 'field list'的解決方法
- Starting MySQL... ERROR! ……quit without updating PID file (/opt/mysql/data/mysql.pid)解決方法
- mysqldump error 1194的解決方法