mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 07:01:08 +00:00
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33242 Signed-off-by: Florian Schmaus <flow@gentoo.org>
25 lines
547 B
Text
25 lines
547 B
Text
#!/sbin/openrc-run
|
|
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
: ${GVM_USER:=gvm}
|
|
: ${GVM_GROUP:=$(id -ng ${GVM_USER})}
|
|
: ${GVM_TIMEOUT:=30}
|
|
|
|
name="Greenbone Vulnerability Manager"
|
|
command="/bin/true"
|
|
command_background="true"
|
|
command_user="${GVM_USER}:${GVM_GROUP}"
|
|
pidfile="/run/gvm/gvm.pid"
|
|
retry="${GVM_TIMEOUT}"
|
|
|
|
depend() {
|
|
after bootmisc
|
|
need localmount net redis-openvas ospd-openvas gvmd gsad
|
|
want notus-scanner
|
|
}
|
|
|
|
start_pre() {
|
|
mkdir /run/gvm
|
|
chown -R gvm:gvm /run/gvm/
|
|
}
|