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
|
EAPI=7
|
||||||
|
|
||||||
inherit autotools fcaps
|
inherit autotools fcaps systemd
|
||||||
|
|
||||||
DESCRIPTION="FORT validator is an open source RPKI validator."
|
DESCRIPTION="FORT validator is an open source RPKI validator."
|
||||||
HOMEPAGE="https://fortproject.net/validator?2"
|
HOMEPAGE="https://fortproject.net/validator?2"
|
||||||
|
@ -54,6 +54,8 @@ src_install() {
|
||||||
|
|
||||||
exeinto "/usr/libexec/${MY_PN}"
|
exeinto "/usr/libexec/${MY_PN}"
|
||||||
doexe fort_setup.sh
|
doexe fort_setup.sh
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
|
@ -16,6 +16,7 @@ PrivateTmp=yes
|
||||||
ProtectKernelTunables=yes
|
ProtectKernelTunables=yes
|
||||||
ProtectControlGroups=yes
|
ProtectControlGroups=yes
|
||||||
ProtectKernelModules=yes
|
ProtectKernelModules=yes
|
||||||
|
CacheDirectory=fort
|
||||||
ReadWritePaths=/var/lib/fort/
|
ReadWritePaths=/var/lib/fort/
|
||||||
ConfigurationDirectory=fort
|
ConfigurationDirectory=fort
|
||||||
ConfigurationDirectory=tals
|
ConfigurationDirectory=tals
|
||||||
|
|
Loading…
Reference in a new issue