#!/bin/sh

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

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

sleep 3

${scriptDir}/status
