diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-12-29 06:44:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-09 10:31:00 +0100 |
commit | c48a6a605c6d8d38cfbc5df39b3dc310bffc07c1 (patch) | |
tree | 7cb743daa976ef892ccb835346b2de48a2e573fb /meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in | |
parent | 458db1ad63e1086ab16184e4aef22b0f352efe9c (diff) | |
download | meta-openembedded-c48a6a605c6d8d38cfbc5df39b3dc310bffc07c1.tar.gz |
busybox: add systemd support for syslog service
This uses a busybox-syslog default file to pass options to
syslogd. For it, the 'OPTIONS' variable needs to be set.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in')
-rw-r--r-- | meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in new file mode 100644 index 0000000000..db90082596 --- /dev/null +++ b/meta-oe/recipes-core/busybox/busybox/busybox-syslog.service.in @@ -0,0 +1,13 @@ +[Unit] +Description=System Logging Service + +[Service] +ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service +EnvironmentFile=-/etc/default/busybox-syslog +ExecStart=@base_sbindir@/syslogd -n $OPTIONS +Sockets=syslog.socket +Wants=busybox-klogd.service + +[Install] +WantedBy=multi-user.target +Also=busybox-klogd.service |