diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-28 21:05:33 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-28 21:05:33 -0700 |
commit | 14510bcfe2f4639f971d6c478124648eb1e26a6b (patch) | |
tree | 149f9ec6770642cb5d429491f00fbfd6356fdcf6 | |
parent | mirmon-snapshots.sh: test refactor of runner (diff) | |
download | gentoo-mirrorstats-14510bcf.tar.gz gentoo-mirrorstats-14510bcf.tar.bz2 gentoo-mirrorstats-14510bcf.zip |
snapshots: fix var dir switch
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | mirmon-snapshots.sh | 2 | ||||
-rw-r--r-- | snapshots_mirrors/mirmon.conf | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mirmon-snapshots.sh b/mirmon-snapshots.sh index 894e94b..ee0338b 100755 --- a/mirmon-snapshots.sh +++ b/mirmon-snapshots.sh @@ -6,7 +6,7 @@ MODE=snapshots SRC=distfiles SITEDIR=/var/www/mirrorstats.gentoo.org REPODIR=${SITEDIR}/gentoo-mirrorstats/ -MODEDIR=${SITEDIR}/${MODE}_mirrors/ +MODEDIR=${REPODIR}/${MODE}_mirrors/ VARDIR=${SITEDIR}/var/${MODE} HTDOCS=${SITEDIR}/htdocs/${MODE} MIRMON=$(readlink -f "${SITEDIR}"/mirmon/mirmon) diff --git a/snapshots_mirrors/mirmon.conf b/snapshots_mirrors/mirmon.conf index 6d689bb..846b994 100644 --- a/snapshots_mirrors/mirmon.conf +++ b/snapshots_mirrors/mirmon.conf @@ -2,11 +2,11 @@ project_name Gentoo Linux (snapshots) web_page /var/www/mirrorstats.gentoo.org/htdocs/snapshots/index-wip.html icons ../icons countries /var/www/mirrorstats.gentoo.org/mirmon/countries.list -mirror_list /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/snapshots_mirrors/var/g.mirrors -state /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/snapshots_mirrors/var/mirmon.state +mirror_list /var/www/mirrorstats.gentoo.org/var/snapshots/g.mirrors +state /var/www/mirrorstats.gentoo.org/var/snapshots/mirmon.state probe /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/probe-mirmon %TIMEOUT% %URL%snapshots/.timestamp-snapshots.x -project_url http://www.gentoo.org/ -project_logo http://www.gentoo.org/images/gentoo-new.gif +project_url ///www.gentoo.org/ +project_logo ///www.gentoo.org/images/gentoo-new.gif # Fresh: 0 - 8h |