diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-01-17 15:09:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-26 22:43:01 +0000 |
commit | 58a6a7c056ff86d69b25528f8235b3bbc8cd8c12 (patch) | |
tree | 4c1b7f320809c96f9455e6873426fd67686adfd0 /meta/recipes-core/busybox/files | |
parent | bdca49274173153b1b0a72887de6321b4756b684 (diff) | |
download | poky-58a6a7c056ff86d69b25528f8235b3bbc8cd8c12.tar.gz |
busybox: enable systemd integration for syslogd
(From OE-Core rev: cf3618f9a57e46fb78d5be35d473e2dd5290e961)
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/files')
-rw-r--r-- | meta/recipes-core/busybox/files/busybox-klogd.service.in | 8 | ||||
-rw-r--r-- | meta/recipes-core/busybox/files/busybox-syslog.service.in | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/busybox-klogd.service.in b/meta/recipes-core/busybox/files/busybox-klogd.service.in new file mode 100644 index 0000000000..d7c77558f3 --- /dev/null +++ b/meta/recipes-core/busybox/files/busybox-klogd.service.in | |||
@@ -0,0 +1,8 @@ | |||
1 | [Unit] | ||
2 | Description=Kernel Logging Service | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=@base_sbindir@/klogd -n | ||
6 | |||
7 | [Install] | ||
8 | WantedBy=multi-user.target | ||
diff --git a/meta/recipes-core/busybox/files/busybox-syslog.service.in b/meta/recipes-core/busybox/files/busybox-syslog.service.in new file mode 100644 index 0000000000..2e04321385 --- /dev/null +++ b/meta/recipes-core/busybox/files/busybox-syslog.service.in | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=System Logging Service | ||
3 | Wants=busybox-klogd.service | ||
4 | |||
5 | [Service] | ||
6 | EnvironmentFile=-/etc/default/busybox-syslog | ||
7 | ExecStart=@base_sbindir@/syslogd -n $OPTIONS | ||
8 | Sockets=syslog.socket | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=multi-user.target | ||
12 | Also=busybox-klogd.service | ||
13 | Alias=syslog.service | ||