diff --git a/srcpkgs/lighttpd/files/lighttpd.service b/srcpkgs/lighttpd/files/lighttpd.service deleted file mode 100644 index b80db7695b..0000000000 --- a/srcpkgs/lighttpd/files/lighttpd.service +++ /dev/null @@ -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 diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template index 874a6bc062..3f998bd2d8 100644 --- a/srcpkgs/lighttpd/template +++ b/srcpkgs/lighttpd/template @@ -1,13 +1,12 @@ # Template file for 'lighttpd' pkgname=lighttpd version=1.4.35 -revision=9 +revision=11 makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel" hostmakedepends="automake pkg-config pcre-devel libtool" conf_files="/etc/lighttpd/lighttpd.conf" system_accounts="lighttpd" lighttpd_homedir="/var/tmp/lighttpd" -build_options="systemd" make_dirs=" /srv/www 0755 root root /var/log/lighttpd 0750 lighttpd lighttpd" @@ -19,6 +18,7 @@ distfiles="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${versi checksum=4a71c1f6d8af41ed894b507720c4c17184dc320590013881d5170ca7f15c5bf7 build_style=gnu-configure configure_args=" + --sbindir=/usr/bin \ --with-gnu-ld \ --libdir=/usr/lib/lighttpd/modules/ \ --sysconfdir=/etc/lighttpd \ @@ -45,8 +45,4 @@ pre_configure() { post_install() { vsv 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 }