-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCOMMENTS
46 lines (30 loc) · 869 Bytes
/
COMMENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
To run as a static on openwrt:
#I will need this:
apt install musl-tools
# I add a target
rustup target add x86_64-unknown-linux-musl
# Added this to: Cargo.toml
# And did a reguler build
# cargo build
openssl = { version = "0.10", features = ["vendored"] }
# THe following work:
cargo build
cargo build --release
# This does not:
# Then compile:
RUSTFLAGS='-C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
# The static binary is in:
#Doing this will set the env for the current code:
#export [email protected]
# Environment vars that clap can read
NOIP_PASSWORD=SomePassowrd
NOIP_HOSTNAMES=yourdomain.ddns.net
NOIP_CHECK_INTERVAL=10m
NOIP_LOG_LEVEL=debug
NOIP_HTTP_TIMEOUT=10s
#NOIP_DAEMON_USER=
#NOIP_DAEMON_GROUP=
#NOIP_DAEMON_PID_FILE=
# I No longer used
#NOIP_EXEC_ON_CHANGE=