Define site-updater touch file in update vars

To use Apache mod_wsgi, change $TOUCHFILE to point to the WSGI
file, and set "WSGIScriptReloading On" in the Apache config.
This commit is contained in:
str4d
2013-12-09 11:23:37 +00:00
parent 50c17e40eb
commit 61f604c898
3 changed files with 3 additions and 2 deletions

View File

@ -15,5 +15,5 @@ fi
if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then
echo "Python files changed, restarting server"
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa
touch $TOUCHFILE
fi