lighttpd: removed systemd support

This commit is contained in:
Andrea Brancaleoni 2015-06-03 00:54:54 +02:00
parent 4ab5c63ca8
commit 8549daf91f
2 changed files with 1 additions and 18 deletions

View file

@ -1,12 +0,0 @@
[Unit]
Description=A secure, fast, compliant and very flexible web-server
After=syslog.target network.target
[Service]
PrivateTmp=true
ExecStart=/usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target

View file

@ -1,13 +1,12 @@
# Template file for 'lighttpd' # Template file for 'lighttpd'
pkgname=lighttpd pkgname=lighttpd
version=1.4.35 version=1.4.35
revision=10 revision=11
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel" makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
hostmakedepends="automake pkg-config pcre-devel libtool" hostmakedepends="automake pkg-config pcre-devel libtool"
conf_files="/etc/lighttpd/lighttpd.conf" conf_files="/etc/lighttpd/lighttpd.conf"
system_accounts="lighttpd" system_accounts="lighttpd"
lighttpd_homedir="/var/tmp/lighttpd" lighttpd_homedir="/var/tmp/lighttpd"
build_options="systemd"
make_dirs=" make_dirs="
/srv/www 0755 root root /srv/www 0755 root root
/var/log/lighttpd 0750 lighttpd lighttpd" /var/log/lighttpd 0750 lighttpd lighttpd"
@ -46,8 +45,4 @@ pre_configure() {
post_install() { post_install() {
vsv lighttpd vsv lighttpd
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
# Install systemd services
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/lighttpd.service 644 usr/lib/systemd/system
fi
} }