Commit Graph

4 Commits

Author SHA1 Message Date
Jason Rhinelander
2e50981408 Use systemd service capabilities instead of setcap
Setcap causes problems (like issue #1007), so stop using it (and undo
the permission override on upgrade) and instead set capabilities via the
systemd services.

(This also fixes some AssertFileNotEmpty declarations that were in the
wrong places).
2020-01-14 18:52:04 -04:00
Jason Rhinelander
6b950e9662 deb: add separate mainnet/testnet systemd services 2019-12-15 23:20:08 -04:00
Jason Rhinelander
dee7aaa4a3 Fix broken RequireFileExists systemd directive 2019-10-29 15:09:03 -03:00
Jason Rhinelander
069a784418 Split client and router config/services into separate packages
lokinet now installs just the binaries; lokinet-client and
lokinet-router install client/router configuration and services
(lokinet-client.service, lokinet-router.service), respectively.
2019-10-29 14:02:40 -03:00