summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/syslog
blob: 32e4bd658d14e9b2776658161e0268d0357fbff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh /etc/rc.common

SYSLOG_ROTATE_SIZE=65536

START='40'
STOP='70'

start()
{
	log 'Starting syslog'
	start-stop-daemon -S -q -x /sbin/syslogd -- \
		-s "${SYSLOG_ROTATE_SIZE}"
}

stop()
{
	log 'Stopping syslog'
	start-stop-daemon -K -q -p /var/run/syslogd.pid
}