Package: syslog-ng-core
Version: 3.5.6-2+b1
Severity: normal
Tags: patch

Hi,

syslog-ng in Jessie does not read /etc/default/syslog-ng when
started with systemd, so additional parameters are not passed to
the daemon. (The sysv init script does read this file.)

The following patch to the unit file fixes the problem:

--- syslog-ng.service.orig  2015-08-04 17:23:15.202067744 +0100
+++ syslog-ng.service 2015-08-04 17:23:06.514010322 +0100
@@ -5,7 +5,8 @@
 [Service]
 Type=notify
 Sockets=syslog.socket
-ExecStart=/usr/sbin/syslog-ng -F
+EnvironmentFile=-/etc/default/syslog-ng
+ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS
 ExecReload=/bin/kill -HUP $MAINPID
 StandardOutput=null
 Restart=on-failure

Thanks,

Matthew


-- 
Matthew Newton, Ph.D. <m...@le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ith...@le.ac.uk>


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to