linux supervisorctl 进程守护

## 安装步骤待补充

 

 

## 配置过程

### 添加文件

cd /etc/supervisord.d
vim skywalking-agent.conf

### 添加配置

[program:skywalking-agent]
command = /usr/local/bin/sky-php-agent --grpc=127.0.0.1:11800 --sky-version=8 --socket=/tmp/sky-agent.sock
autostart = true
startsecs = 5
autorestart = true
startretries = 3
user = root
stdout_logfile = /var/log/supervisor/skywalking-agent.out
stderr_logfile = /var/log/supervisor/skywalking-agent.err

### 更新配置

supervisorctl update

### 查看进程状态

supervisorctl status

### 停止守护

supervisorctl stop skywalking-agent

### 启动守护

supervisorctl start skywalking-agent
上一篇:supervisorctl 进程管理


下一篇:Linux Supervisor安装和配置