inadyn: remove /var/cache/inadyn creation from service and delete pid file

This commit is contained in:
Duncaen 2018-07-17 14:17:42 +02:00
parent 0cd889fd13
commit b347842deb
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
[ ! -d /run/inadyn ] && mkdir -p /run/inadyn
[ ! -d /var/cache/inadyn ] && mkdir -p /var/cache/inadyn
chown inadyn:inadyn /run/inadyn /var/cache/inadyn
[ ! -d /run/inadyn ] &&
mkdir -p /run/inadyn &&
chown inadyn:inadyn /run/inadyn ||
rm -f /run/inadyn/inadyn.pid
exec inadyn -p inadyn:inadyn -P /run/inadyn/inadyn.pid -n -s $OPTS 2>&1

View File

@ -1,7 +1,7 @@
# Template file for 'inadyn'
pkgname=inadyn
version=2.3.1
revision=3
revision=4
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="automake libtool pkg-config"