From f52c7ea9d045db3a1f313f92ef786cbb58594a50 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 2 Jun 2018 16:20:02 +0200 Subject: Add minimalistic syslog daemon For now this daemon simply dumps all syslog messages into seperate log files and doesn't do much parsing. Since the messages are readable ASCII anyway, this should not be to much of a problem and sufficient for debugging. Signed-off-by: David Oberhollenzer --- services/Makemodule.am | 8 +++++--- services/usyslogd | 6 ++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 services/usyslogd (limited to 'services') diff --git a/services/Makemodule.am b/services/Makemodule.am index c11a365..e9e6ac7 100644 --- a/services/Makemodule.am +++ b/services/Makemodule.am @@ -8,10 +8,12 @@ init_DATA += services/vfs services/ifrename services/ifcfg init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound init_DATA += services/dnsmasq +if USYSLOGD +init_DATA += services/usyslogd +endif + EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname EXTRA_DIST += services/hwclock services/loopback services/reboot EXTRA_DIST += services/shutdown services/sync services/sysctl services/tmpfs -EXTRA_DIST += services/dhcpcd services/dhcpcdmaster EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound -EXTRA_DIST += services/dnsmasq - +EXTRA_DIST += services/usyslogd services/dnsmasq diff --git a/services/usyslogd b/services/usyslogd new file mode 100644 index 0000000..23bea3b --- /dev/null +++ b/services/usyslogd @@ -0,0 +1,6 @@ +description "starting usyslogd" +exec usyslogd +type respawn limit 5 +target boot +after hostname vfs +before sysinit \ No newline at end of file -- cgit v1.2.3