Commit Graph

7 Commits

Author SHA1 Message Date
8309eb2209 make site-updaters that are mtn dependent also work with git. 2020-09-10 00:05:01 +00:00
36230f592b fix broken i2cp link on docs page 2019-06-30 13:26:02 +00:00
55c8d292b0 Home page updates 2019-06-28 20:53:31 +00:00
90047161cb scripts: add optional support for "timeout"; allow site-updater to be called directly
Sometimes the mtn syncs hang until aborted. Well, my syncing with welterde and
echelon would hang periodically until I added the same timeout support I'm
adding here. In short, if Montone's action has not completed within 20 minutes,
forcably kill the process. /usr/bin/timeout is a part of coreutils so most
(all?) Linux distributions should have it but I don't require timeout to exist.
If "timeout" can be found, it'll be used.

Also, set site-updater.sh to change to the directory in which the script is
located. This way one can give an absolute path in a cronjob.

Both of these changes should be low risk.
2014-02-13 22:13:21 +00:00
598914d2ea Updated mtn branch 2014-01-07 18:18:52 +00:00
61f604c898 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.
2013-12-09 11:23:37 +00:00
782cb1c9ec Added branch arg to "mtn pull" 2013-12-08 20:16:46 +00:00