|
|
@ -1,5 +1,5 @@ |
|
|
|
#!/bin/sh /etc/rc.common |
|
|
|
# Copyright (C) 2006-2016 OpenWrt.org |
|
|
|
# Copyright (C) 2006-2019 OpenWrt.org |
|
|
|
|
|
|
|
START=50 |
|
|
|
|
|
|
@ -8,11 +8,6 @@ USE_PROCD=1 |
|
|
|
start_service() { |
|
|
|
[ -f /etc/syslog-ng.conf ] || return 1 |
|
|
|
procd_open_instance |
|
|
|
procd_set_param command /usr/sbin/syslog-ng |
|
|
|
procd_set_param command /usr/sbin/syslog-ng --foreground |
|
|
|
procd_close_instance |
|
|
|
} |
|
|
|
|
|
|
|
reload_service() { |
|
|
|
stop |
|
|
|
start |
|
|
|
} |