Merge branch 'wzyboy-patch-upstart'
This commit is contained in:
commit
5a2069b55c
|
@ -1,2 +1,3 @@
|
||||||
nghttpx-init
|
nghttpx-init
|
||||||
nghttpx.service
|
nghttpx.service
|
||||||
|
nghttpx-upstart.conf
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
configfiles = nghttpx-init nghttpx.service
|
configfiles = nghttpx-init nghttpx.service nghttpx-upstart.conf
|
||||||
|
|
||||||
EXTRA_DIST = $(configfiles:%=%.in) nghttpx-logrotate
|
EXTRA_DIST = $(configfiles:%=%.in) nghttpx-logrotate
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ nghttpx-init: %: $(srcdir)/%.in
|
||||||
chmod +x $@.tmp
|
chmod +x $@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
nghttpx.service: %: $(srcdir)/%.in
|
nghttpx.service nghttpx-upstart.conf: %: $(srcdir)/%.in
|
||||||
$(edit) $< > $@
|
$(edit) $< > $@
|
||||||
|
|
||||||
$(configfiles): Makefile
|
$(configfiles): Makefile
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# vim: ft=upstart:
|
||||||
|
|
||||||
|
description "HTTP/2 reverse proxy"
|
||||||
|
|
||||||
|
start on runlevel [2]
|
||||||
|
stop on runlevel [016]
|
||||||
|
|
||||||
|
exec @bindir@/nghttpx
|
Loading…
Reference in New Issue