summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2016-02-10 19:12:48 +0100
committerDirkjan Ochtman <djc@gentoo.org>2016-02-10 19:13:33 +0100
commitd248776f69defe6b3774fe6286d1d473664e8047 (patch)
treed59351c6dd47cf3022b70da756c2a354a8223041 /net-p2p/syncthing
parentnet-p2p/syncthing: Version bump (diff)
downloadgentoo-d248776f69defe6b3774fe6286d1d473664e8047.tar.gz
gentoo-d248776f69defe6b3774fe6286d1d473664e8047.tar.bz2
gentoo-d248776f69defe6b3774fe6286d1d473664e8047.zip
net-p2p/syncthing: add systemd unit files (fixes bug 574186)
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-p2p/syncthing')
-rw-r--r--net-p2p/syncthing/syncthing-0.12.18.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-p2p/syncthing/syncthing-0.12.18.ebuild b/net-p2p/syncthing/syncthing-0.12.18.ebuild
index ee3fa53fe52..f56efca26ee 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
}