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:
@ -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
|
||||
|
Reference in New Issue
Block a user