summaryrefslogtreecommitdiff
path: root/meta/recipes-core/busybox/files/busybox-syslog.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/files/busybox-syslog.service.in')
-rw-r--r--meta/recipes-core/busybox/files/busybox-syslog.service.in13
1 files changed, 13 insertions, 0 deletions
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 @@
+[Unit]
+Description=System Logging Service
+Wants=busybox-klogd.service
+
+[Service]
+EnvironmentFile=-/etc/default/busybox-syslog
+ExecStart=@base_sbindir@/syslogd -n $OPTIONS
+Sockets=syslog.socket
+
+[Install]
+WantedBy=multi-user.target
+Also=busybox-klogd.service
+Alias=syslog.service