diff options
author | Johannes Huber <johu@gentoo.org> | 2014-05-03 20:42:17 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2014-05-03 20:42:17 +0200 |
commit | 2451fd7260368a04ae6800e4747708d0c5a094f3 (patch) | |
tree | b5b383b05bbcd571a3766feeda09272de7df8e04 /net-irc | |
parent | [dev-libs/qtkeychain] Qt multibuild by Uwe L. Korn <uwelk@xhochy.com> (diff) | |
download | johu-2451fd7260368a04ae6800e4747708d0c5a094f3.tar.gz johu-2451fd7260368a04ae6800e4747708d0c5a094f3.tar.bz2 johu-2451fd7260368a04ae6800e4747708d0c5a094f3.zip |
[net-irc/quassel] Sync with tree
* adds systemd unit file, bug #508450
Package-Manager: portage-2.2.10
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/quassel/files/quasselcore.service | 11 | ||||
-rw-r--r-- | 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 |