20 lines
430 B
Plaintext
20 lines
430 B
Plaintext
|
#!/sbin/openrc-run
|
||
|
# Copyright 2020 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
name="fort validator daemon"
|
||
|
description="FORT validator is an open source RPKI validator."
|
||
|
command=/usr/bin/fort
|
||
|
command_args="${FORT_OPTS}"
|
||
|
command_user="fort"
|
||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||
|
command_background=true
|
||
|
|
||
|
depend() {
|
||
|
need net
|
||
|
}
|
||
|
|
||
|
start_pre() {
|
||
|
checkpath -d -m 0750 -o fort:fort ${FORT_BASEDIR}
|
||
|
}
|