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