diff options
author | Carlos Santos <casantos@datacom.com.br> | 2019-01-18 16:46:25 -0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2019-01-19 16:34:02 +0100 |
commit | fce8e52044c3b568d826f04155639eff922c9cda (patch) | |
tree | 11150047bf3e53061b602fc2cfb32b64205f51ea /package/syslog-ng/syslog-ng@default | |
parent | 1574dd6d48e4b1deef1dc05764eb51687e699822 (diff) | |
download | buildroot-fce8e52044c3b568d826f04155639eff922c9cda.tar.gz buildroot-fce8e52044c3b568d826f04155639eff922c9cda.zip |
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>
Diffstat (limited to 'package/syslog-ng/syslog-ng@default')
-rw-r--r-- | package/syslog-ng/syslog-ng@default | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/syslog-ng/syslog-ng@default b/package/syslog-ng/syslog-ng@default new file mode 100644 index 0000000000..0fad00ebac --- /dev/null +++ b/package/syslog-ng/syslog-ng@default @@ -0,0 +1,8 @@ +# +# /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" |