Fix some syslogd pidfile and installing support scripts.
This commit is contained in:
parent
bcbdb0ed13
commit
e4e18d21ed
@ -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()
|
||||
|
@ -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} -d ${DESTDIR}${DIR}
|
||||
${INSTALL} ${OBJS} ${DESTDIR}${DIR}
|
||||
|
||||
clean:
|
||||
rm -f ${OBJS}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user