summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-04-27 12:20:10 +0000
committerMichał Górny <mgorny@gentoo.org>2013-04-27 12:20:10 +0000
commit7a5d7a5e5fa6f75b22a2161f214545dcbd654d2a (patch)
tree3b66ced3648d3a8118616c8a9218dbf24036f80c /www-servers
parentTake over and clean the ebuild up. (diff)
downloadgentoo-2-7a5d7a5e5fa6f75b22a2161f214545dcbd654d2a.tar.gz
gentoo-2-7a5d7a5e5fa6f75b22a2161f214545dcbd654d2a.tar.bz2
gentoo-2-7a5d7a5e5fa6f75b22a2161f214545dcbd654d2a.zip
Introduce a systemd unit for boa.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/boa/ChangeLog8
-rw-r--r--www-servers/boa/boa-0.94.14_rc21-r1.ebuild (renamed from www-servers/boa/boa-0.94.14_rc21.ebuild)6
-rw-r--r--www-servers/boa/files/boa.service9
3 files changed, 20 insertions, 3 deletions
diff --git a/www-servers/boa/ChangeLog b/www-servers/boa/ChangeLog
index b05296fabc5a..205b3c3fc11e 100644
--- a/www-servers/boa/ChangeLog
+++ b/www-servers/boa/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-servers/boa
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/ChangeLog,v 1.18 2013/04/27 12:11:22 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/ChangeLog,v 1.19 2013/04/27 12:20:10 mgorny Exp $
+
+*boa-0.94.14_rc21-r1 (27 Apr 2013)
+
+ 27 Apr 2013; Michal Gorny <mgorny@gentoo.org> +boa-0.94.14_rc21-r1.ebuild,
+ +files/boa.service, -boa-0.94.14_rc21.ebuild:
+ Introduce a systemd unit for boa.
27 Apr 2013; Michal Gorny <mgorny@gentoo.org> boa-0.94.14_rc21.ebuild,
metadata.xml:
diff --git a/www-servers/boa/boa-0.94.14_rc21.ebuild b/www-servers/boa/boa-0.94.14_rc21-r1.ebuild
index 567cef06d769..b1d42e12ea71 100644
--- a/www-servers/boa/boa-0.94.14_rc21.ebuild
+++ b/www-servers/boa/boa-0.94.14_rc21-r1.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/boa/boa-0.94.14_rc21.ebuild,v 1.7 2013/04/27 12:11:22 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.14_rc21-r1.ebuild,v 1.1 2013/04/27 12:20:10 mgorny Exp $
EAPI=5
-inherit eutils
+inherit eutils systemd
MY_P=${P/_/}
DESCRIPTION="A very small and very fast http daemon"
@@ -52,6 +52,8 @@ src_install() {
newinitd "${FILESDIR}"/boa.rc6 boa
newconfd "${FILESDIR}"/boa.conf.d boa
+ systemd_dounit "${FILESDIR}"/boa.service
+
exeinto /usr/lib/boa
doexe src/boa_indexer
diff --git a/www-servers/boa/files/boa.service b/www-servers/boa/files/boa.service
new file mode 100644
index 000000000000..e4410d8e061f
--- /dev/null
+++ b/www-servers/boa/files/boa.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Boa web server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/boa -d
+
+[Install]
+WantedBy=multi-user.target