Skip to content

Commit

Permalink
remove gvm rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelsquared committed Apr 28, 2021
1 parent 4c17757 commit 5fd0f65
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ if [ ! -f "/data/upgrade_to_21.4.0" ]; then
su -c "psql --dbname=gvmd --command='ALTER TABLE vt_severities ALTER COLUMN score SET DATA TYPE double precision;'" postgres
su -c "psql --dbname=gvmd --command='UPDATE vt_severities SET score = round((score / 10.0)::numeric, 1);'" postgres
su -c "psql --dbname=gvmd --command='ALTER TABLE vt_severities OWNER TO gvm;'" postgres
touch /data/upgrade_to_21.4.0
fi

su -c "gvmd --migrate" gvm
Expand Down Expand Up @@ -303,11 +304,6 @@ fi

su -c "gvmd --user=\"$USERNAME\" --new-password=\"$PASSWORD\"" gvm

if [ ! -f "/data/upgrade_to_21.4.0" ]; then
su -c "gvmd --rebuild" gvm
touch /data/upgrade_to_21.4.0
fi

echo "Starting Greenbone Security Assistant..."
if [ $HTTPS == "true" ]; then
su -c "gsad --verbose --gnutls-priorities=SECURE128:-AES-128-CBC:-CAMELLIA-128-CBC:-VERS-SSL3.0:-VERS-TLS1.0 --timeout=$TIMEOUT --no-redirect --mlisten=127.0.0.1 --mport=9390 --port=9392" gvm
Expand Down

0 comments on commit 5fd0f65

Please sign in to comment.