syslog-ng.init 276 B

12345678910111213141516171819
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. START=20
  4. SERVICE_USE_PID=1
  5. start() {
  6. [ -f /etc/syslog-ng.conf ] || return 1
  7. service_start /usr/sbin/syslog-ng
  8. }
  9. stop() {
  10. service_stop /usr/sbin/syslog-ng
  11. }
  12. reload() {
  13. service_reload /usr/sbin/syslog-ng
  14. }