1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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 }