|
|
|
|
|
|
|
|
# /etc/init.d/nginx-logger-{{ type }} |
|
|
# /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 }} |
|
|
NAME=nginx-logger-{{ type }} |
|
|
DESC="syslog forwarder for nginx {{type}} logs" |
|
|
DESC="syslog forwarder for nginx {{type}} logs" |
|
|
DAEMON=/usr/bin/logger |
|
|
DAEMON=/usr/bin/logger |