摘要:
$ apt-get install supervisor新建一个配置文件/etc/supervisor/conf.d/demo.conf[program:demo]command=/usr/local/bin/mono demo.exe -duser=www-datastderr_logfile = /var/log/supervisor/demo-err.logstdout_logfile = /var/log/supervisor/demo-stdout.logdirectory=/var/www/demo/打开控制台$ sudo supervisorctl更新和运行$ superviso 阅读全文