Welcome! Log In Create A New Profile

Advanced

LSB compliant init script (e.g. Debian 7)

Richard Fussenegger, BSc
December 31, 2013 07:38AM
I also happen to have a LSB compliant init script for nginx. I think
some lines should be removed for inclusion in the nginx source
(everything that has to do with the temporary paths), but it's a rock
solid starting point.

https://github.com/MovLib/www/blob/master/bin/init-nginx.sh

The script allows you to use "service nginx
{force-reload|reload|restart|start|status|stop}" and "nginx -t" is
always executed before attempting to do anything. This ensures that the
service isn't interrupted because of some misconfiguration. It's also
using the various LSB functions for some eye candy.

Hope you like it.

Regards
Richard

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 1] Added support for TCP_FASTOPEN supported in Linux >= 3.7.1

Mathew Rodley 1198 December 01, 2013 03:30PM

Syntax highlighting for nano

Richard Fussenegger, BSc 461 December 31, 2013 07:24AM

Re: Syntax highlighting for nano

Maxim Dounin 404 January 02, 2014 11:10PM

LSB compliant init script (e.g. Debian 7) Attachments

Richard Fussenegger, BSc 356 December 31, 2013 07:38AM

Re: LSB compliant init script (e.g. Debian 7)

Maxim Dounin 300 January 02, 2014 11:20PM

Re: LSB compliant init script (e.g. Debian 7) Attachments

Richard Fussenegger, BSc 569 January 03, 2014 05:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 86
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready