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=/usr/sbin/syslogd
command_args=${syslogd_args} command_args=${syslogd_args}
pidfile=/var/run/syslog.pid pidfile=/var/run/syslogd.pid
name="System Logger Daemon" name="System Logger Daemon"
depend() depend()

View File

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

View File

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