#!/bin/sh

scriptDir=$(readlink -f $(dirname $0))

systemctl stop submit-server
systemctl stop probemon
if [ -e /etc/systemd/system/jobmon.service ] ; then
   systemctl stop jobpro
   systemctl stop jobstageinput
   systemctl stop jobexe
   systemctl stop jobmetrics
   systemctl stop jobcachesimtools
fi
sleep 2
systemctl stop jobmon
#systemctl stop cloudmon
systemctl stop tunnelmon
systemctl stop identityman

sleep 3

${scriptDir}/status
