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
8dc0464a
There was an error fetching the commit references. Please try again later.
Commit
8dc0464a
authored
4 years ago
by
Bensong Liu
Browse files
Options
Downloads
Patches
Plain Diff
Add hk2, open minecraft, disable ddns
parent
1c06ffdd
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
+2
-1
2 additions, 1 deletion
datafile_gen_daemon_conf.py
do.bash
+5
-3
5 additions, 3 deletions
do.bash
with
7 additions
and
4 deletions
datafile_gen_daemon_conf.py
+
2
−
1
View file @
8dc0464a
...
...
@@ -7,6 +7,7 @@ tests = [
(
'
./do.bash frp-hk
'
,
'
Reverse Proxy (HongKong FRP)
'
),
(
'
./do.bash ss-iplc
'
,
'
Shadowsocks IPLC
'
),
# Both CNIP and JPIP, requires linode to be working.
(
'
./do.bash ss-us12
'
,
'
ShadowSocks US-12
'
),
(
'
./do.bash ss-hk2
'
,
'
ShadowSocks HK-2
'
),
(
'
./do.bash ovpn-tw
'
,
'
OpenVPN taiwan
'
),
(
'
./do.bash www
'
,
'
Main Website
'
),
(
'
./do.bash mail
'
,
'
Mail Server
'
),
...
...
@@ -15,12 +16,12 @@ tests = [
(
'
./do.bash zhixiang
'
,
'
ZhiXiang Fucker
'
),
(
'
./do.bash mc
'
,
'
Minecraft Server
'
),
(
'
./do.bash push-httpdb-agent
'
,
'
httpdb
'
),
(
'
./do.bash ddns-home
'
,
'
DDNS home
'
),
(
'
./do.bash dl
'
,
'
Download Site
'
),
(
'
./do.bash shortlink
'
,
'
Short Link
'
),
(
'
./do.bash cc-dns
'
,
'
recolic.cc DNS
'
),
(
'
./do.bash home-http
'
,
'
Home NAS with HTTP
'
),
]
# ('./do.bash ddns-home', 'DDNS home'),
test_interval
=
20
*
60
# 20min
This diff is collapsed.
Click to expand it.
do.bash
+
5
−
3
View file @
8dc0464a
...
...
@@ -50,6 +50,9 @@ function do_test () {
ss-us12
)
test_tcp base.us12.recolic.net 25551
||
return
$?
;;
ss-hk2
)
test_tcp base.hk2.recolic.net 25551
||
return
$?
;;
ss-iplc
)
test_tcp base.cnjp1.recolic.net 25551
||
return
$?
test_tcp base.cnjp1.recolic.net 25552
||
return
$?
...
...
@@ -113,8 +116,6 @@ function do_test () {
curl
-k
-X
POST
-s
'https://api.anjie-elec.cn/api/usewater/Add?accessToken=FUCKYOU'
|
grep
'104871845A503324'
||
return
$?
;;
mc
)
return
$RETURN_CODE_SERVICE_CLOSE
test_icmp mc.recolic.net
&&
test_tcp mc.recolic.net 25565
||
return
$?
;;
push-httpdb-agent
)
...
...
@@ -160,7 +161,7 @@ function do_test () {
}
function
do_test_twice
()
{
do_test
"
$1
"
||
do_test
"
$1
"
do_test
"
$1
"
||
do_test
"
$1
"
||
do_test
"
$1
"
return
$?
}
...
...
@@ -170,6 +171,7 @@ if [[ "$1" = all ]]; then
do_test_twice v-tw
&&
do_test_twice frp-hk
&&
do_test_twice ss-us12
&&
do_test_twice ss-hk2
&&
do_test_twice ss-iplc
&&
do_test_twice ovpn-tw
&&
do_test_twice www
&&
...
...
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