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=/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()
|
||||||
|
@ -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}
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user