Commit 036aab2e authored by Nick Bearson's avatar Nick Bearson
Browse files

it's a real startup script now!

parent ee96f9c2
#!/usr/bin/env bash
echo "
This script should:
+ check that incron is running
+ start eodn_feed
- daemonize it
... anything else? create incoming?
"
# check that incron is running
pgrep "incrond" > /dev/null || echo "WARNING: incrond isn't running, is incoming being watched?"
# make & move to incoming
mkdir -p /home/eodn/incoming
cd /home/eodn/incoming
# start eodn_feed
nohup eodn_feed 0<&- &>> /home/eodn/eodn2realearth/logs/eodn_feed.log &
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment