2104091338@CentOS7配置Supervisor开机启动
1. 在自己桌面新建一个supervisord.service文件
内容为:
1 | [Unit] |
2. 将此文件拷贝到/usr/lib/systemd/system文件夹下
3. 执行命令:
1 | systemctl enable supervisord |
4. 执行命令测试是否为开机启动
1 | systemctl is-enabled supervisord |
2104091338@CentOS7配置Supervisor开机启动
内容为:
1 | [Unit] |
1 | systemctl enable supervisord |
1 | systemctl is-enabled supervisord |