From 255a5e7a9fb1123a9fd3fc71243065304665003a Mon Sep 17 00:00:00 2001 From: Stefan Wagner Date: Tue, 26 Apr 2016 00:57:02 +0200 Subject: main/syslog-ng: remove check for syslog.conf As syslog-ng is using syslog-ng.conf as its default configuration file syslog.conf will never exist. Therefore it's not necessary to check for the existance of syslog.conf on start. --- main/syslog-ng/syslog-ng.initd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/syslog-ng/syslog-ng.initd b/main/syslog-ng/syslog-ng.initd index c558a39deb..387d20e2f7 100644 --- a/main/syslog-ng/syslog-ng.initd +++ b/main/syslog-ng/syslog-ng.initd @@ -11,8 +11,11 @@ depend() { provide logger } +start_pre() { + update +} + start() { - [ ! -f /etc/syslog-ng/syslog.conf ] && update ebegin "Starting syslog-ng" start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng --pidfile /run/syslog-ng.pid eend $? -- cgit v1.2.3