如何使用Supervisor正确重启Mpd?


0

我用Supervisor设置了Mpd,如下所示。我可以启动Mpd没问题,但我无法阻止它或重新启动它。当我发出“stop mpd”时,它说它停止了进程但是Mpd仍然按原样运行,我可以在顶部或Htop中看到它。

[program:mpd]
command=sudo -u USER mpd --no-daemon
autostart=true
autorestart=true
startretries=3
stderr_logfile=/var/log/mpd.err.log
stdout_logfile=/var/log/mpd.out.log
user=USER

我正在使用Debian Testing X64,Supervisor 3.3.1

谢谢

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.