packages/admin/syslog-ng3/files/syslog-ng.init
nico 241960f2db packages/syslog-ng{,3}: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 19:49:03 +00:00

20 lines
276 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
SERVICE_USE_PID=1
start() {
[ -f /etc/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
}