change server restart method

This commit is contained in:
dev
2013-08-14 22:21:59 +00:00
parent 4e5b6790d1
commit 53e242e93a

View File

@ -12,7 +12,7 @@ fi
cat $TMP | grep "^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
if [ $? -eq 0 ]; then
echo "Python files changed, restarting server"
supervisorctl restart mainsite
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa
fi
rm $TMP