Fix some syslogd pidfile and installing support scripts.

This commit is contained in:
Roy Marples 2008-01-11 21:54:33 +00:00
parent bcbdb0ed13
commit e4e18d21ed
3 changed files with 6 additions and 7 deletions

View File

@ -4,7 +4,7 @@
command=/usr/sbin/syslogd
command_args=${syslogd_args}
pidfile=/var/run/syslog.pid
pidfile=/var/run/syslogd.pid
name="System Logger Daemon"
depend()

View File

@ -14,12 +14,11 @@ VARBASE?= /var
all: ${OBJS}
.in:
sed -e s':@PREFIX@:${PREFIX}:' -e 's:@VARBASE@:${VARBASE}:' $< > $@
sed -e 's:@PREFIX@:${PREFIX}:' -e 's:@VARBASE@:${VARBASE}:' $< > $@
install: all
for x in ${OBJS}; do \
${INSTALL} work/$$x ${DESTDIR}${DIR}; \
done
install: all
${INSTALL} -d ${DESTDIR}${DIR}
${INSTALL} ${OBJS} ${DESTDIR}${DIR}
clean:
rm -f ${OBJS}

View File

@ -5,7 +5,7 @@
vpn=${SVCNAME#*.}
name="OpenVPN"
[ "${vpn}" != "openvpn" ] && name="${name} (${vpn})"
command=@PREFIX/sbin/openvpn
command=@PREFIX@/sbin/openvpn
pidfile=@VARBASE@/run/"${SVCNAME}".pid
openvpn_dir=${openvpn_dir:-@PREFIX@/etc/openvpn}