/etc/init/syslog-ng.conf is in syslog-ng-core 3.5.6-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # syslog-ng - system logging daemon
#
# syslog-ng is an replacement for the traditional syslog daemon, logging messages from applications
description "system logging daemon"
start on filesystem
stop on runlevel [06]
expect fork
respawn
script
CONF="/etc/syslog-ng/syslog-ng.conf"
CTRL="/var/lib/syslog-ng/syslog-ng.ctl"
OPTS=""
# Allow override of command/conf and opts by /etc/default/syslog-ng
if [ -f /etc/default/$UPSTART_JOB ]; then
. /etc/default/$UPSTART_JOB
fi
if ! [ -r "$CONF" ] ; then
echo "Could not read ${CONF}: exiting"
exit 1
fi
exec /usr/sbin/syslog-ng --process-mode=background \
-f $CONF -c $CTRL \
-p /var/run/syslog-ng.pid $OPTS
end script
|