Init.d script

Paul Bergstrom lists at
Sun Dec 12 14:21:23 MSK 2010

Paul Bergstrom wrote in post #967901:
> David J. wrote in post #967875:
>> On 12/11/10 5:31 PM, Paul Bergstrom wrote:
>>> 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;
> Do I need to add it to update-rc? Not sure what that does.

I did. Hopefully it will restart now when the server restart.

Posted via

More information about the nginx mailing list