diff options
-rw-r--r-- | www-servers/lighttpd/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/lighttpd/files/lighttpd.service | 10 | ||||
-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 () { |