From: Dirkjan Ochtman Date: Wed, 10 Feb 2016 18:12:48 +0000 (+0100) Subject: net-p2p/syncthing: add systemd unit files (fixes bug 574186) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d248776f69defe6b3774fe6286d1d473664e8047;p=gentoo.git net-p2p/syncthing: add systemd unit files (fixes bug 574186) Package-Manager: portage-2.2.26 --- diff --git a/net-p2p/syncthing/syncthing-0.12.18.ebuild b/net-p2p/syncthing/syncthing-0.12.18.ebuild index ee3fa53fe52c..f56efca26ee5 100644 --- a/net-p2p/syncthing/syncthing-0.12.18.ebuild +++ b/net-p2p/syncthing/syncthing-0.12.18.ebuild @@ -7,7 +7,7 @@ EAPI=5 EGO_PN="github.com/syncthing/syncthing" EGIT_COMMIT=v${PV} -inherit golang-vcs-snapshot +inherit golang-vcs-snapshot systemd DESCRIPTION="Syncthing is an open, trustworthy and decentralized cloud storage system" HOMEPAGE="http://syncthing.net" @@ -37,4 +37,6 @@ src_install() { cd src/${EGO_PN} dobin bin/* dodoc README.md AUTHORS CONTRIBUTING.md + systemd_dounit "${S}"/etc/linux-systemd/system/${PN}@.service + systemd_douserunit "${S}"/etc/linux-systemd/user/${PN}.service }