net-misc/FORT-validator: systemd unit, because needed to MR on github
This commit is contained in:
parent
c0c78ca19a
commit
fa6ed64b7f
|
@ -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() {
|
||||
|
|
|
@ -16,6 +16,7 @@ PrivateTmp=yes
|
|||
ProtectKernelTunables=yes
|
||||
ProtectControlGroups=yes
|
||||
ProtectKernelModules=yes
|
||||
CacheDirectory=fort
|
||||
ReadWritePaths=/var/lib/fort/
|
||||
ConfigurationDirectory=fort
|
||||
ConfigurationDirectory=tals
|
||||
|
|
Loading…
Reference in a new issue