package/syslog-ng: fix startup with systemd
authorCarlos Santos <casantos@datacom.com.br>
Fri, 18 Jan 2019 18:46:25 +0000 (16:46 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 19 Jan 2019 15:34:02 +0000 (16:34 +0100)
commitfce8e52044c3b568d826f04155639eff922c9cda
tree11150047bf3e53061b602fc2cfb32b64205f51ea
parent1574dd6d48e4b1deef1dc05764eb51687e699822
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>
package/syslog-ng/syslog-ng.mk
package/syslog-ng/syslog-ng@default [new file with mode: 0644]