Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server-monitor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
server-monitor
Commits
5ca6f3db
There was an error fetching the commit references. Please try again later.
Commit
5ca6f3db
authored
4 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
recolic.org -> recolic.cc, change home http url
parent
1eb41137
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
datafile_gen_daemon_conf.py
+1
-1
1 addition, 1 deletion
datafile_gen_daemon_conf.py
do.bash
+8
-8
8 additions, 8 deletions
do.bash
with
9 additions
and
9 deletions
datafile_gen_daemon_conf.py
+
1
−
1
View file @
5ca6f3db
...
...
@@ -21,7 +21,7 @@ tests = [
(
'
./do.bash rocket
'
,
'
Recolic Rocket Chat
'
),
(
'
./do.bash dl
'
,
'
Download Site
'
),
(
'
./do.bash shortlink
'
,
'
Short Link
'
),
(
'
./do.bash
org
-dns
'
,
'
recolic.
org
DNS
'
),
(
'
./do.bash
cc
-dns
'
,
'
recolic.
cc
DNS
'
),
(
'
./do.bash home-http
'
,
'
Home HTTP, NFS, NAS, BaiduDownloader, etc
'
),
]
...
...
This diff is collapsed.
Click to expand it.
do.bash
+
8
−
8
View file @
5ca6f3db
#!/bin/bash
[[
$1
==
''
]]
&&
echo
-e
'Usage: '
"
$0
<operation> ...
\n
operation := rproxy | drive | v-tw | v-hk | frp-hk | ss-us1 | ss-us5 | ss-us6 | ovpn-tw | www | mail | tm | git | zhixiang | mc | push-httpdb-agent | ddns-wuhan | rocket | dl | shortlink |
org
-dns | home-http | all"
&&
exit
1
[[
$1
==
''
]]
&&
echo
-e
'Usage: '
"
$0
<operation> ...
\n
operation := rproxy | drive | v-tw | v-hk | frp-hk | ss-us1 | ss-us5 | ss-us6 | ovpn-tw | www | mail | tm | git | zhixiang | mc | push-httpdb-agent | ddns-wuhan | rocket | dl | shortlink |
cc
-dns | home-http | all"
&&
exit
1
[[
$(
id
-u
)
=
0
]]
&&
ping_fld
=
"-f"
...
...
@@ -146,8 +146,8 @@ function do_test () {
#ddns-us )
# test_tcp base.ddns2.recolic.net 22 | grep SSH &&
# test_tcp base.ddns2.recolic.net 80 &&
# test_tcp nohsts.ddns2.recolic.
org
22 | grep SSH &&
# test_tcp nohsts.ddns2.recolic.
org
80 || return $?
# test_tcp nohsts.ddns2.recolic.
cc
22 | grep SSH &&
# test_tcp nohsts.ddns2.recolic.
cc
80 || return $?
# ;;
dl
)
test_icmp dl.recolic.net
&&
...
...
@@ -162,13 +162,13 @@ function do_test () {
test_icmp rocket.recolic.net
&&
curl
-s
https://rocket.recolic.net:444/api/info |
grep
'success":true'
||
return
$?
;;
org
-dns
)
test_icmp www.recolic.
org
&&
curl
-s
https://recolic.
org
/
||
return
$?
cc
-dns
)
test_icmp www.recolic.
cc
&&
curl
-s
https://recolic.
cc
/
||
return
$?
;;
home-http
)
# NO icmp required.
curl
-s
http://home.
cnm.cool
:81/
||
return
$?
curl
-s
http://home.
recolic-backend.xyz
:81/
||
return
$?
;;
esac
...
...
@@ -201,7 +201,7 @@ if [[ "$1" = all ]]; then
do_test_twice rocket
&&
do_test_twice shortlink
&&
do_test_twice dl
&&
do_test_twice
org
-dns
&&
do_test_twice
cc
-dns
&&
do_test_twice home-http
exit
$?
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment