1 |
commit: 14510bcfe2f4639f971d6c478124648eb1e26a6b |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 04:05:33 2020 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 04:05:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=14510bcf |
7 |
|
8 |
snapshots: fix var dir switch |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
mirmon-snapshots.sh | 2 +- |
13 |
snapshots_mirrors/mirmon.conf | 8 ++++---- |
14 |
2 files changed, 5 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/mirmon-snapshots.sh b/mirmon-snapshots.sh |
17 |
index 894e94b..ee0338b 100755 |
18 |
--- a/mirmon-snapshots.sh |
19 |
+++ b/mirmon-snapshots.sh |
20 |
@@ -6,7 +6,7 @@ MODE=snapshots |
21 |
SRC=distfiles |
22 |
SITEDIR=/var/www/mirrorstats.gentoo.org |
23 |
REPODIR=${SITEDIR}/gentoo-mirrorstats/ |
24 |
-MODEDIR=${SITEDIR}/${MODE}_mirrors/ |
25 |
+MODEDIR=${REPODIR}/${MODE}_mirrors/ |
26 |
VARDIR=${SITEDIR}/var/${MODE} |
27 |
HTDOCS=${SITEDIR}/htdocs/${MODE} |
28 |
MIRMON=$(readlink -f "${SITEDIR}"/mirmon/mirmon) |
29 |
|
30 |
diff --git a/snapshots_mirrors/mirmon.conf b/snapshots_mirrors/mirmon.conf |
31 |
index 6d689bb..846b994 100644 |
32 |
--- a/snapshots_mirrors/mirmon.conf |
33 |
+++ b/snapshots_mirrors/mirmon.conf |
34 |
@@ -2,11 +2,11 @@ project_name Gentoo Linux (snapshots) |
35 |
web_page /var/www/mirrorstats.gentoo.org/htdocs/snapshots/index-wip.html |
36 |
icons ../icons |
37 |
countries /var/www/mirrorstats.gentoo.org/mirmon/countries.list |
38 |
-mirror_list /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/snapshots_mirrors/var/g.mirrors |
39 |
-state /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/snapshots_mirrors/var/mirmon.state |
40 |
+mirror_list /var/www/mirrorstats.gentoo.org/var/snapshots/g.mirrors |
41 |
+state /var/www/mirrorstats.gentoo.org/var/snapshots/mirmon.state |
42 |
probe /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/probe-mirmon %TIMEOUT% %URL%snapshots/.timestamp-snapshots.x |
43 |
-project_url http://www.gentoo.org/ |
44 |
-project_logo http://www.gentoo.org/images/gentoo-new.gif |
45 |
+project_url ///www.gentoo.org/ |
46 |
+project_logo ///www.gentoo.org/images/gentoo-new.gif |
47 |
|
48 |
|
49 |
# Fresh: 0 - 8h |