Init.d script
David J.
david at styleflare.com
Sun Dec 12 03:28:22 MSK 2010
On 12/11/10 5:31 PM, Paul Bergstrom wrote:
> 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?
>
Yes. Look at the other vars as well and just point them to where they
are on your setup;
More information about the nginx
mailing list