From 874274b5593640acca27c674309c34a9c769ace5 Mon Sep 17 00:00:00 2001 From: Brandon Bradley Date: Thu, 27 Aug 2015 12:12:17 -0500 Subject: [PATCH] add LSB header to logger sysv init script --- nginx/templates/sysvinit-logger.jinja | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nginx/templates/sysvinit-logger.jinja b/nginx/templates/sysvinit-logger.jinja index 82b0702..bb8d530 100644 --- a/nginx/templates/sysvinit-logger.jinja +++ b/nginx/templates/sysvinit-logger.jinja @@ -2,6 +2,16 @@ # /etc/init.d/nginx-logger-{{ type }} # +### BEGIN INIT INFO +# Provides: nginx-logger-{{ type }} +# Required-Start: $local_fs $remote_fs $network $syslog +# Required-Stop: $local_fs $remote_fs $network $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: starts the nginx-logger-{{ type }} +# Description: starts nginx-logger-{{ type }} using start-stop-daemon +### END INIT INFO + NAME=nginx-logger-{{ type }} DESC="syslog forwarder for nginx {{type}} logs" DAEMON=/usr/bin/logger