From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/johu:master commit in: net-irc/quassel/, net-irc/quassel/files/
Date: Sat, 3 May 2014 18:42:28 +0000 (UTC) [thread overview]
Message-ID: <1399142537.2451fd7260368a04ae6800e4747708d0c5a094f3.johu@gentoo> (raw)
commit: 2451fd7260368a04ae6800e4747708d0c5a094f3
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat May 3 18:42:17 2014 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat May 3 18:42:17 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/johu.git;a=commit;h=2451fd72
[net-irc/quassel] Sync with tree
* adds systemd unit file, bug #508450
Package-Manager: portage-2.2.10
---
net-irc/quassel/files/quasselcore.service | 11 +++++++++++
net-irc/quassel/quassel-9999.ebuild | 5 +++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/net-irc/quassel/files/quasselcore.service b/net-irc/quassel/files/quasselcore.service
new file mode 100644
index 0000000..f5b49ab
--- /dev/null
+++ b/net-irc/quassel/files/quasselcore.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Quassel Core
+After=network.target
+
+[Service]
+User=quassel
+Group=quassel
+ExecStart=/usr/bin/quasselcore --configdir=/var/lib/quassel
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild
index 006e4d4..f2f17d6 100644
--- a/net-irc/quassel/quassel-9999.ebuild
+++ b/net-irc/quassel/quassel-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils eutils pax-utils user versionator
+inherit cmake-utils eutils pax-utils systemd user versionator
EGIT_REPO_URI="git://git.quassel-irc.org/quassel"
[[ "${PV}" == "9999" ]] && inherit git-r3
@@ -143,9 +143,10 @@ src_install() {
keepdir "${QUASSEL_DIR}"
fowners "${QUASSEL_USER}":"${QUASSEL_USER}" "${QUASSEL_DIR}"
- # init scripts
+ # init scripts & systemd unit
newinitd "${FILESDIR}"/quasselcore.init quasselcore
newconfd "${FILESDIR}"/quasselcore.conf quasselcore
+ systemd_dounit "${FILESDIR}"/quasselcore.service
# logrotate
insinto /etc/logrotate.d
next reply other threads:[~2014-05-03 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 18:42 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-30 15:44 [gentoo-commits] dev/johu:master commit in: net-irc/quassel/, net-irc/quassel/files/ Johannes Huber
2015-06-26 20:37 Johannes Huber
2014-04-01 9:07 Johannes Huber
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=1399142537.2451fd7260368a04ae6800e4747708d0c5a094f3.johu@gentoo \
--to=johu@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