ospd-openvas: fix initd script

This commit is contained in:
blshkv 2019-10-20 21:58:05 +08:00
parent b0d76056e6
commit c1a10bfbf2
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F

View file

@ -5,17 +5,15 @@
name="remotely control an OpenVAS Scanner"
command="/usr/bin/ospd-openvas"
pidfile="/run/${RC_SVCNAME}.pid"
command_args="${OSPD_OPENVAS_OPTIONS} \
${OSPD_OPENVAS_UNIX_SOCKET} \
${OSPD_OPENVAS_SOCKET_MODE} \
--pid-file ${pidfile} \
--config /etc/openvas/ospd.conf"
pidfile="/run/ospd-openvas.pid"
command_background="true"
depend() {
after bootmisc
need localmount redis
# net
}