diff options
-rw-r--r-- | init.d.BSD/syslogd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/init.d.BSD/syslogd b/init.d.BSD/syslogd index 5f362fee..c583d248 100644 --- a/init.d.BSD/syslogd +++ b/init.d.BSD/syslogd @@ -4,7 +4,10 @@ command=/usr/sbin/syslogd command_args=${syslogd_args} -pidfile=$(strings ${command} | grep /var/run/syslog) +case "${RC_UNAME}" in + FreeBSD|DragonFly) pidfile=/var/run/syslog.pid;; + *) pidfile=/var/run/syslogd.pid;; +esac name="System Logger Daemon" depend() |