diff options
author | Roy Marples <roy@marples.name> | 2008-01-11 23:49:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-11 23:49:40 +0000 |
commit | fa363ecaf7fcd6a7ee43fe5ec046dc5ea7e94686 (patch) | |
tree | 414c12cff61bc63c00cda02f80899bf1eb64bece /init.d.BSD/syslogd | |
parent | d4404ea9c7a5f37e148d22dbe05d804f2df93b11 (diff) |
Don't use bins in global if we can help it.
Diffstat (limited to 'init.d.BSD/syslogd')
-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() |