diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-12 21:17:50 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-12 21:19:14 (EST) |
commit | e57503a84591f94c970c5c76a22808cc22152194 (patch) | |
tree | 5190ac492bc4957d329118570871f287f0d0545f /src.etc/init.d/syslogd | |
parent | 5142bd58855c50ef13bbb91f5735feab94e55c48 (diff) |
/etc/init.d/syslog: Rename to /etc/init.d/syslogd
Diffstat (limited to 'src.etc/init.d/syslogd')
-rwxr-xr-x | src.etc/init.d/syslogd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src.etc/init.d/syslogd b/src.etc/init.d/syslogd new file mode 100755 index 0000000..a480c3b --- /dev/null +++ b/src.etc/init.d/syslogd @@ -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 +} + +stop() +{ + log 'Stopping system logging daemon' + start-stop-daemon -K -q -p /var/run/syslogd.pid +} |