标签:默认 csharp highlight 点击 etc tde backup 进程管理 roo
yum install epel-release yum install -y supervisor
默认配置文件:/etc/supervisord.conf
进程管理配置文件放到:/etc/supervisord.d/目录下即可
进程配置文件如下实例:
[program:test-server] process_name=%(program_name)s command = /home/ directory = /home/test-server autostart = true startsecs = 5 autorestart = true startretries = 3 user = root redirect_stderr = true stdout_logfile_maxbytes = 20MB stdout_logfile_backups = 10 stdout_logfile = /var/log/test-server.log
supervisorctr restart start stop 等等
--------------------- 本文来自 Go哥 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/suiban7403/article/details/80199097?utm_source=copy
标签:默认 csharp highlight 点击 etc tde backup 进程管理 roo
原文地址:https://www.cnblogs.com/akidongzi/p/9710610.html