Skip to content

Commit

Permalink
Adjust for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vrbanecd committed Oct 19, 2023
1 parent e952627 commit 8a28f49
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions run-teapot.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

path_to_pid='$HOME/teapot.pid'
if [ -a $path_to_pid ]; then
stormpid=`cat $path_to_pid`
kill $stormpid
rm $path_to_pid
else
python3 /usr/share/teapot/teapot.py &> tmp-storm-proxy.log &
echo $! > $path_to_pid
fi
#path_to_pid='$HOME/teapot.pid'
#if [ -a $path_to_pid ]; then
# stormpid=`cat $path_to_pid`
# kill $stormpid
# rm $path_to_pid
#else
python3 /usr/share/teapot/teapot.py &> tmp-storm-proxy.log &
# echo $! > $path_to_pid
#fi

0 comments on commit 8a28f49

Please sign in to comment.