aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-06-02 16:20:02 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-06-11 19:45:42 +0200
commitf52c7ea9d045db3a1f313f92ef786cbb58594a50 (patch)
tree0ce30b8ac515987b87a609eb2403e218bf6ff07d /services
parented23d075cae1353dcbec06925b2491e09395aafe (diff)
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 <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am8
-rw-r--r--services/usyslogd6
2 files changed, 11 insertions, 3 deletions
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