I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 61f604c8 authored by str4d's avatar str4d
Browse files

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.
parent 50c17e40
No related branches found
No related tags found
No related merge requests found
MTNURL=127.0.0.1:8998 MTNURL=127.0.0.1:8998
MTNBRANCH=i2p.www.revamp MTNBRANCH=i2p.www.revamp
TOUCHFILE=/tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa
...@@ -15,5 +15,5 @@ fi ...@@ -15,5 +15,5 @@ fi
if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then
echo "Python files changed, restarting server" echo "Python files changed, restarting server"
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa touch $TOUCHFILE
fi fi
...@@ -15,5 +15,5 @@ fi ...@@ -15,5 +15,5 @@ fi
if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TMP" >/dev/null ; then
echo "Python files changed, restarting server" echo "Python files changed, restarting server"
touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa touch $TOUCHFILE
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment