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
ea3dda68
There was an error fetching the commit references. Please try again later.
Commit
ea3dda68
authored
3 years ago
by
Recolic K
Browse files
Options
Downloads
Patches
Plain Diff
new version
parent
11d0436c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
datafile_gen_daemon_conf.py
+1
-0
1 addition, 0 deletions
datafile_gen_daemon_conf.py
do.bash
+5
-1
5 additions, 1 deletion
do.bash
with
7 additions
and
2 deletions
Dockerfile
+
1
−
1
View file @
ea3dda68
...
...
@@ -3,7 +3,7 @@ FROM ubuntu:20.04
MAINTAINER
root@recolic.net
RUN
apt update
RUN
apt
install
-y
curl netcat iputils-ping python3.8
RUN
DEBIAN_FRONTEND
=
noninteractive
apt
install
-y
curl netcat iputils-ping python3.8
dnsutils
RUN
ln
-s
/usr/bin/python3.8 /usr/bin/python3
# RUN pacman -Sy
# RUN pacman -S --noconfirm curl netcat iputils grep
...
...
This diff is collapsed.
Click to expand it.
datafile_gen_daemon_conf.py
+
1
−
0
View file @
ea3dda68
...
...
@@ -20,6 +20,7 @@ tests = [
(
'
./do.bash shortlink
'
,
'
Short Link
'
),
(
'
./do.bash cc-dns
'
,
'
recolic.cc DNS
'
),
(
'
./do.bash home-http
'
,
'
Home NAS & DDNS & HTTP
'
),
(
'
./do.bash domain2ip
'
,
'
Domain to IP
'
),
]
# ('./do.bash ddns-home', 'DDNS home'),
...
...
This diff is collapsed.
Click to expand it.
do.bash
+
5
−
1
View file @
ea3dda68
...
...
@@ -153,6 +153,9 @@ function do_test () {
# NO icmp required.
curl
-L
https://recolic.net/hms.php |
grep
betterlisting
||
return
$?
;;
domain2ip
)
dig +short 1.1.1.1.ip.recolic.cc |
grep
1.1.1.1
||
return
$?
;;
*
)
echo
PROGRAMMING ERROR: NO TARGET
"
$1
"
available.
return
1
...
...
@@ -186,7 +189,8 @@ if [[ "$1" = all ]]; then
do_test_twice shortlink
&&
do_test_twice dl
&&
do_test_twice cc-dns
&&
do_test_twice home-http
do_test_twice home-http
&&
do_test_twice domain2ip
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