我已经设置了主管来监控一些进程。因为我是通过远程脚本部署的,所以我需要一种无需 sudo 即可发送主管启动/停止命令的方法。我不知道如何做到这一点。
主管有没有办法以非 root 用户身份运行指定的命令?
root supervisord
root ×1
supervisord ×1