aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-09-01 01:12:46 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-09-01 13:03:18 +0200
commitdc30dd7530cee426bbb30425e255868ffa635c13 (patch)
tree5f8c9dce00a58bd82ece93db86c93c783a773c37 /services
parentb0b6c68e3839656c657f83de70badace6c01675a (diff)
Add tiny klogd implementation
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am6
-rw-r--r--services/klogd6
2 files changed, 11 insertions, 1 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index 0843787..5e38eca 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -14,8 +14,12 @@ if USYSLOGD
init_DATA += services/usyslogd
endif
+if USYSLOGD
+init_DATA += services/klogd
+endif
+
EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname
-EXTRA_DIST += services/hwclock services/loopback
+EXTRA_DIST += services/hwclock services/loopback services/klogd
EXTRA_DIST += services/sync services/sysctl services/tmpfs
EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound
EXTRA_DIST += services/usyslogd services/dnsmasq services/network
diff --git a/services/klogd b/services/klogd
new file mode 100644
index 0000000..aaca59a
--- /dev/null
+++ b/services/klogd
@@ -0,0 +1,6 @@
+description "starting uklogd"
+exec klogd
+type respawn limit 5
+target boot
+after usyslogd
+before sysinit