inadyn: remove /var/cache/inadyn creation from service and delete pid file
This commit is contained in:
parent
0cd889fd13
commit
b347842deb
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue