From ea5380f6e5387c7f0ab671d217562988c9992e0c Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 16 Oct 2019 14:10:14 +0000 Subject: [PATCH] Suppressing Wildfly standard output --- vips-backend-single-server.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vips-backend-single-server.sh b/vips-backend-single-server.sh index e014a70..df34ec6 100755 --- a/vips-backend-single-server.sh +++ b/vips-backend-single-server.sh @@ -117,9 +117,9 @@ sudo -H -u $CODE_USER bash -c "ln -s /home/$CODE_USER/VIPSLogic/target/VIPSLogic # Run and test WildFly with VIPSLogic deployed # If successful, this will migrate the vipslogic database to its correct state -echo "TESTING THE WILDFLY APPLICATION SERVER" +echo "TESTING THE WILDFLY APPLICATION SERVER. Please wait" # Start WildFly -sudo -H -u $CODE_USER bash -c "$WILDFLY_HOME/bin/standalone.sh &" +sudo -H -u $CODE_USER bash -c "$WILDFLY_HOME/bin/standalone.sh > /dev/null &" # Periodically test a database dependant endpoint sleep 10s response=400 @@ -200,7 +200,7 @@ read -p "Username: " username read -sp "Password for $username [*]: " user_password -passwordhash=$(./md5pass.py $user_password $md5_salt) +passwordhash=$(./md5pass.py $user_password $md5salt) PGPASSWORD=$vipslogic_password psql -U vipslogic -d vipslogic -h localhost -c "BEGIN;TRUNCATE public.organization CASCADE; INSERT INTO public.organization(organization_name,address1,address2,postal_code,country_code,default_locale,default_map_center,default_map_zoom,default_time_zone,city) VALUES('$organization_name','$address_1','$address_2','$postal_code','$country_code','$default_language',ST_GeomFromText('POINT($longitude $latitude)',4326),4,'$timezone','$city');COMMIT;" -- GitLab