lighttpd: added runit service.
This commit is contained in:
parent
4cae2e1d89
commit
af9520a4d9
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
|
|
@ -1,16 +1,14 @@
|
|||
# Template file for 'lighttpd'
|
||||
pkgname=lighttpd
|
||||
version=1.4.35
|
||||
revision=4
|
||||
revision=5
|
||||
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
|
||||
hostmakedepends="automake pkg-config pcre-devel libtool which"
|
||||
hostmakedepends="automake pkg-config pcre-devel libtool"
|
||||
conf_files="/etc/lighttpd/lighttpd.conf"
|
||||
system_accounts="lighttpd"
|
||||
lighttpd_homedir="/var/tmp/lighttpd"
|
||||
replaces="runit-void<20141013_2"
|
||||
build_options="systemd"
|
||||
if [ "$build_option_systemd" ]; then
|
||||
systemd_services="lighttpd.service on"
|
||||
fi
|
||||
make_dirs="
|
||||
/srv/www 0755 root root
|
||||
/var/log/lighttpd 0750 lighttpd lighttpd"
|
||||
|
@ -46,6 +44,7 @@ pre_configure() {
|
|||
autoreconf -fi
|
||||
}
|
||||
post_install() {
|
||||
vsv lighttpd
|
||||
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
|
||||
# Install systemd services
|
||||
if [ "$build_option_systemd" ]; then
|
||||
|
|
Loading…
Reference in New Issue