From d248776f69defe6b3774fe6286d1d473664e8047 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 10 Feb 2016 19:12:48 +0100 Subject: [PATCH] net-p2p/syncthing: add systemd unit files (fixes bug 574186) Package-Manager: portage-2.2.26 --- net-p2p/syncthing/syncthing-0.12.18.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.26.2