摘录文档
Programs meant to be run under supervisor should not daemonize themselves. Instead, they should run in the foreground. They should not detach from the terminal from which they are started.
对于 varnishd
,再加一个参数:-F
在Linux上面的服务,都是使用service进行管理,varnish太久没用了,不怎么记得了,不过不管是你使用包管理器安装,还是源码安装,都应该有一个服务管理脚本,当然源码安装需要你在源码包里面找到管理脚本,再放到指定的位置,比如CentOS 6的服务管理脚本就是放在/etc/rc.d/init.d/
下面!