diff options
-rw-r--r-- | main/syslog-ng/syslog-ng.initd | 5 |
1 files changed, 4 insertions, 1 deletions
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 $? |