buildroot/package/syslog-ng/syslog-ng@default
Carlos Santos fce8e52044 package/syslog-ng: fix startup with systemd
By default syslog-ng installs a .service that requires a config file at
/etc/default, so provide one with the default values.

It's also necessary to enable the service by means of a symlink created
at /etc/systemd/system/multi-user.target.wants.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-19 16:34:02 +01:00

9 lines
207 B
Plaintext

#
# /etc/default/syslog-ng@default
#
CONFIG_FILE=/etc/syslog-ng.conf
PERSIST_FILE=/var/run/syslog-ng.persist
CONTROL_FILE=/var/run/syslog-ng.ctl
PID_FILE=/var/run/syslog-ng.pid
OTHER_OPTIONS="--enable-core"