You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
347 B

#!/bin/bash
# this statement checks if there is an instance of the EtherSenseServer running
if [[ ! `ps -eaf | grep "python EtherSenseServer.py" | grep -v grep` ]]; then
# if not, EtherSenseServer is started with the PYTHONPATH set due to cron not passing Env
PYTHONPATH=$HOME/.local/lib/python2.7/site-packages python EtherSenseServer.py
fi