summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/syslogd-ipc
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-12 23:38:48 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-13 01:36:37 (EST)
commit49eff1e1b186a185e069a04c9af0da6be7a26708 (patch)
treec3906e3eb9a03679b29ee19d74071fb80889e873 /src.etc/init.d/syslogd-ipc
parent64f9d5dd00991336bc823ef4eba1132bd077f198 (diff)
/etc/init.d/syslogd-ipc: New script
Diffstat (limited to 'src.etc/init.d/syslogd-ipc')
-rwxr-xr-xsrc.etc/init.d/syslogd-ipc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src.etc/init.d/syslogd-ipc b/src.etc/init.d/syslogd-ipc
new file mode 100755
index 0000000..40506e7
--- /dev/null
+++ b/src.etc/init.d/syslogd-ipc
@@ -0,0 +1,16 @@
+#!/bin/sh /etc/rc.common
+
+START='40'
+STOP='70'
+
+start()
+{
+ log 'Starting system logging daemon'
+ start-stop-daemon -S -q -x /sbin/syslogd -- -C
+}
+
+stop()
+{
+ log 'Stopping system logging daemon'
+ start-stop-daemon -K -q -p /var/run/syslogd.pid
+}