inspircd: simplify creation of /run/inspircd
This commit is contained in:
parent
2d52c0739c
commit
d29a0a8fae
|
@ -1,10 +1,5 @@
|
|||
#!/bin/sh
|
||||
if [ ! -d /var/run/inspircd ]; then
|
||||
mkdir -m0755 -p /var/run/inspircd
|
||||
fi
|
||||
|
||||
chown inspircd:inspircd /var/run/inspircd
|
||||
|
||||
install -d -m0755 -o inspircd -g inspircd /run/inspircd
|
||||
exec chpst -u inspircd inspircd \
|
||||
--nofork --config /etc/inspircd/inspircd.conf \
|
||||
--logfile /var/log/inspircd/ircd.log
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'inspircd'
|
||||
pkgname=inspircd
|
||||
version=2.0.27
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="perl pkg-config"
|
||||
makedepends="geoip-devel libressl-devel sqlite-devel"
|
||||
|
|
Loading…
Reference in New Issue