Or this: http://articles.slicehost.com/2007/10/19/debian-etch-adding-an-nginx-init-script I have nginx installed in /opt/nginx. Can I just change this? DAEMON=/usr/local/sbin/nginx To DAEMON=/opt/nginx/sbin/nginx Will it work? Btw, why the PATH variable in the script if it's not used in the script? -- Posted via http://www.ruby-forum.com/.