Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574186 - net-p2p/syncthing - add systemd unit
Summary: net-p2p/syncthing - add systemd unit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2016-02-08 14:37 UTC by Andrius Štikonas
Modified: 2016-02-10 21:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?