From e13bb7edfe1bbf651e3107c20962ed8160e6eb12 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Tue, 2 Apr 2019 19:02:17 +0200 Subject: [PATCH] busybox: Make syslog service stop later It will avoid some applications log to come to the console when stopping the system BugzID: 55006 --- .../busybox/busybox/busybox-syslog.service.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-core/busybox/busybox/busybox-syslog.service.in diff --git a/recipes-core/busybox/busybox/busybox-syslog.service.in b/recipes-core/busybox/busybox/busybox-syslog.service.in new file mode 100644 index 0000000..3ea9abd --- /dev/null +++ b/recipes-core/busybox/busybox/busybox-syslog.service.in @@ -0,0 +1,18 @@ +[Unit] +Description=System Logging Service +Wants=busybox-klogd.service + +Conflicts=shutdown.target +Before=shutdown.target + +[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 +