net-misc/FORT-validator: systemd unit, because needed to MR on github

This commit is contained in:
Alarig Le Lay 2020-03-11 09:49:04 +01:00
parent c0c78ca19a
commit fa6ed64b7f
2 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,7 @@
EAPI=7
inherit autotools fcaps
inherit autotools fcaps systemd
DESCRIPTION="FORT validator is an open source RPKI validator."
HOMEPAGE="https://fortproject.net/validator?2"
@ -54,6 +54,8 @@ src_install() {
exeinto "/usr/libexec/${MY_PN}"
doexe fort_setup.sh
systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {

View file

@ -16,6 +16,7 @@ PrivateTmp=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
CacheDirectory=fort
ReadWritePaths=/var/lib/fort/
ConfigurationDirectory=fort
ConfigurationDirectory=tals