Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 574186

Summary: net-p2p/syncthing - add systemd unit
Product: Gentoo Linux Reporter: Andrius Štikonas <andrius>
Component: Current packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    

Description Andrius Štikonas 2016-02-08 14:37:29 UTC
syncthing should install systemd unit files. They are shipped with synchting already, so the only thing that has to be done by ebuild are:

inherit systemd

# install systemd services
systemd_dounit "${S}"/etc/linux-systemd/system/${PN}@.service
systemd_douserunit "${S}"/etc/linux-systemd/user/${PN}.service
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-02-10 18:14:48 UTC
Fixed in syncthing-0.12.18.
Comment 2 Andrius Štikonas 2016-02-10 21:41:32 UTC
Sorry, it seems this ebuild has slightly different paths than other syncthing ebuilds

Apparently, instead of "${S}" we need "${S}"/src/${EGO_PN}
After this change ebuild successfully installs.

Can we get this fixed?