Skip to content

Commit

Permalink
added creation of openvas.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
immauss committed Feb 13, 2024
1 parent a6a7fbe commit e87b650
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/single.sh
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,11 @@ if ! [ -f tmp/GBCommunitySigningKey.asc ]; then
cp -vr /etc/openvas-gnupg/* $OPENVAS_GNUPG_HOME/
chown -R gvm:gvm $OPENVAS_GNUPG_HOME
fi

# Create openvas.conf
echo "table_driven_lsc = yes
mqtt_server_uri = tcp://localhost:1883" > /etc/openvas/openvas.conf

echo "Starting Open Scanner Protocol daemon for OpenVAS..."
/usr/local/bin/ospd-openvas --unix-socket /var/run/ospd/ospd-openvas.sock \
--pid-file /run/ospd/ospd-openvas.pid \
Expand Down

0 comments on commit e87b650

Please sign in to comment.