From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/
Date: Thu, 18 Feb 2016 19:42:36 +0000 (UTC) [thread overview]
Message-ID: <1455461567.8993bcdf6bd7cbfe5e55142f666dc4be52941dd2.monsieurp@gentoo> (raw)
commit: 8993bcdf6bd7cbfe5e55142f666dc4be52941dd2
Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Sun Feb 14 14:44:42 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 14:52:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8993bcdf
net-misc/i2pd: adjust systemd .service to point to /usr/bin/i2pd
Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches
net-misc/i2pd/files/i2pd-2.4.0.service | 18 ++++++++++++++++++
.../i2pd/{i2pd-2.4.0.ebuild => i2pd-2.4.0-r1.ebuild} | 2 +-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/net-misc/i2pd/files/i2pd-2.4.0.service b/net-misc/i2pd/files/i2pd-2.4.0.service
new file mode 100644
index 0000000..c5acee0
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.4.0.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/var/run/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.cfg
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/net-misc/i2pd/i2pd-2.4.0.ebuild b/net-misc/i2pd/i2pd-2.4.0-r1.ebuild
similarity index 97%
rename from net-misc/i2pd/i2pd-2.4.0.ebuild
rename to net-misc/i2pd/i2pd-2.4.0-r1.ebuild
index bf59082..bf6489c 100644
--- a/net-misc/i2pd/i2pd-2.4.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.4.0-r1.ebuild
@@ -68,7 +68,7 @@ src_install() {
dodir /usr/share/i2pd
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_newunit "${FILESDIR}/${PN}-2.4.0.service" "${PN}.service"
doenvd "${FILESDIR}/99${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
next reply other threads:[~2016-02-18 19:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 19:42 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-09 8:07 [gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/ Anthony G. Basile
2016-05-09 8:07 Anthony G. Basile
2016-05-09 8:07 Anthony G. Basile
2016-04-08 9:43 Anthony G. Basile
2016-04-03 20:04 Anthony G. Basile
2016-03-25 1:26 Anthony G. Basile
2016-03-24 22:31 Anthony G. Basile
2016-03-19 16:28 Anthony G. Basile
2016-02-06 10:17 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455461567.8993bcdf6bd7cbfe5e55142f666dc4be52941dd2.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox