summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2013-04-21 09:27:39 +0000
committerFabio Erculiani <lxnay@gentoo.org>2013-04-21 09:27:39 +0000
commit9b6cf1d7b2932e82d8b491860da445dbc0393c8b (patch)
tree56d126e88aaeb0d130fbf1b6517f0f610636628d /www-servers/lighttpd
parentFix building with USE=doc, bug 465378. (diff)
downloadgentoo-2-9b6cf1d7b2932e82d8b491860da445dbc0393c8b.tar.gz
gentoo-2-9b6cf1d7b2932e82d8b491860da445dbc0393c8b.tar.bz2
gentoo-2-9b6cf1d7b2932e82d8b491860da445dbc0393c8b.zip
add systemd unit, close bug #466254
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
Diffstat (limited to 'www-servers/lighttpd')
-rw-r--r--www-servers/lighttpd/ChangeLog8
-rw-r--r--www-servers/lighttpd/files/lighttpd.service10
-rw-r--r--www-servers/lighttpd/lighttpd-1.4.32-r2.ebuild (renamed from www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild)6
3 files changed, 21 insertions, 3 deletions
diff --git a/www-servers/lighttpd/ChangeLog b/www-servers/lighttpd/ChangeLog
index e9b5ce182312..eb09d041a139 100644
--- a/www-servers/lighttpd/ChangeLog
+++ b/www-servers/lighttpd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-servers/lighttpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.298 2013/02/16 11:28:53 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.299 2013/04/21 09:27:38 lxnay Exp $
+
+*lighttpd-1.4.32-r2 (21 Apr 2013)
+
+ 21 Apr 2013; Fabio Erculiani <lxnay@gentoo.org> -lighttpd-1.4.32-r1.ebuild,
+ +lighttpd-1.4.32-r2.ebuild, +files/lighttpd.service:
+ add systemd unit, close bug #466254
16 Feb 2013; Pacho Ramos <pacho@gentoo.org> lighttpd-1.4.32-r1.ebuild:
Don't show elog messages always (#457596)
diff --git a/www-servers/lighttpd/files/lighttpd.service b/www-servers/lighttpd/files/lighttpd.service
new file mode 100644
index 000000000000..369950c91b13
--- /dev/null
+++ b/www-servers/lighttpd/files/lighttpd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Lightning Fast Webserver With Light System Requirements
+After=syslog.target network.target
+
+[Service]
+PIDFile=/var/run/lighttpd.pid
+ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild b/www-servers/lighttpd/lighttpd-1.4.32-r2.ebuild
index ea7d7ee94c7b..f3f94e4b4bad 100644
--- a/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild
+++ b/www-servers/lighttpd/lighttpd-1.4.32-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild,v 1.2 2013/02/16 11:28:53 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.32-r2.ebuild,v 1.1 2013/04/21 09:27:39 lxnay Exp $
EAPI="4"
-inherit base autotools eutils depend.php readme.gentoo user
+inherit base autotools eutils depend.php readme.gentoo user systemd
DESCRIPTION="Lightweight high-performance web server"
HOMEPAGE="http://www.lighttpd.net/"
@@ -193,6 +193,8 @@ src_install() {
rm -f "${D}"/usr/bin/spawn-fcgi "${D}"/usr/share/man/man1/spawn-fcgi.*
use minimal && remove_non_essential
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst () {