view kill_gnb.sh @ 4:ace14a8ac6e4 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/genenotebook commit 81226a2f347b2dc273546311e7269c07f0b0f485
author gga
date Tue, 10 Oct 2023 15:29:02 +0000
parents 5a6050937cb9
children
line wrap: on
line source

#!/bin/bash

# Make sure everything is cleaned (including job queue)
sleep 5

# Print server log
echo ""
echo "--- 'genoboo run' stopped, printing logs (server side) ---"
cat ./gnb.log

# Kill GeneNoteBook
kill $GNB_PID

sleep 5

# Kill MongoDB
kill $(<"./mongo.pid")

sleep 5