start_ceilo_ingest.sh 370 Bytes
Newer Older
David Hoese's avatar
David Hoese committed
1
2
3
4
5
6
#!/usr/bin/env bash
NAME=ceilo_ingest
SCRN=$(screen -list | grep $NAME | awk '{print $1}')
if [ -n "$SCRN" ]; then 
echo Screen already running: $SCRN
else
David Hoese's avatar
David Hoese committed
7
screen -S $NAME -d -m /opt/metobs/aoss_ceilo/bin/python -m aossceilo.ingest -c /opt/metobs/aoss_ceilo/repos/git/AossCeilo/scripts/$NAME.cfg
David Hoese's avatar
David Hoese committed
8
9
echo Started in screen $(screen -list | grep $NAME | awk '{print $1}')
fi