db47: moved to github
[openwrt.org/packages.git] / admin / syslog-ng / files / syslog-ng.init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org

START=50

start() {
	[ -f /etc/syslog-ng/syslog-ng.conf ] || return 1
	service_start /usr/sbin/syslog-ng
}

stop() {
	service_stop /usr/sbin/syslog-ng
}

reload() {
	service_reload /usr/sbin/syslog-ng
}

comments