# HG changeset patch # User souliane # Date 1406197527 -7200 # Node ID b01ee1b28680c3c75bc2e54a521583d53a47958f # Parent 19448ad3a7d9d1823ecf438354b6890aed3b5219 launching script handles "salut" component diff -r 19448ad3a7d9 -r b01ee1b28680 scripts/launcher/launch.sh --- a/scripts/launcher/launch.sh Wed Jul 16 12:29:22 2014 +0200 +++ b/scripts/launcher/launch.sh Thu Jul 24 12:25:27 2014 +0200 @@ -12,6 +12,7 @@ LIBERVIA=$WORKSPACE/libervia PROSODY=$WORKSPACE/prosody-hg SATPUBSUB=$WORKSPACE/sat_pubsub +SALUT=$WORKSPACE/salut URWID_SATEXT=$WORKSPACE/urwid_satext # PIDs of the processes @@ -20,8 +21,9 @@ LIB_PID=$LOCAL_DIR/libervia.pid SER_PID=$PROSODY/prosody.pid SPS_PID=$SATPUBSUB/twistd.pid +SALUT_PID=$SALUT/twistd.pid -# Connection information for sat_pubsub +# Connection information for Prosody components SPS_JID=sat-pubsub.tazar.int SPS_PWD=password @@ -79,8 +81,9 @@ echo "############# Stopping Prosody ############" cd $PROSODY && if [[ -f $SER_PID ]]; then ./prosodyctl stop; fi kill_process $SER_PID - echo "########### Stopping sat_pubsub ###########" + echo "####### Stopping Prosody components #######" kill_process $SPS_PID + kill_process $SALUT_PID } start_ser() { echo "############# Starting Prosody ############" @@ -93,6 +96,8 @@ else twistd sat_pubsub --jid=$SPS_JID --secret=$SPS_PWD fi + echo "############## Starting salut #############" + cd $SALUT && twistd -y salut.tac } start_sat() { echo "############## Installing sat #############"