OSDN Git Service

add nanoklogd and socklogd services
authormobinmob <mobinmob@disroot.org>
Thu, 30 Apr 2020 11:17:44 +0000 (14:17 +0300)
committermobinmob <mobinmob@disroot.org>
Thu, 30 Apr 2020 11:17:44 +0000 (14:17 +0300)
nanoklogd [new file with mode: 0644]
socklogd-unix [new file with mode: 0644]

diff --git a/nanoklogd b/nanoklogd
new file mode 100644 (file)
index 0000000..595b88e
--- /dev/null
+++ b/nanoklogd
@@ -0,0 +1,9 @@
+[main]
+@type = classic
+@description = "nano kernel log daemon"
+@user = ( root )
+
+[start]
+@build = custom
+@shebang = "/bin/sh"
+@execute = ( exec s6-envuidgid -u nobody nanoklogd )
diff --git a/socklogd-unix b/socklogd-unix
new file mode 100644 (file)
index 0000000..56d10c5
--- /dev/null
@@ -0,0 +1,10 @@
+[main]
+@type = classic
+@description = "socklog daemon"
+@user = ( root )
+@options = ( log )
+
+[start]
+@build = custom
+@shebang = "/bin/sh"
+@execute = ( exec s6-envuidgid -u nobody socklog unix /dev/log 2>&1 )