mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-01-07 15:49:13 +08:00
Update README.md (#113)
This commit is contained in:
parent
db1a3b2d47
commit
c3f78c7b63
1 changed files with 31 additions and 1 deletions
32
README.md
32
README.md
|
@ -37,7 +37,7 @@ go install github.com/bakito/adguardhome-sync@latest
|
|||
|
||||
Both the origin instance must be initially setup via the AdguardHome installation wizard.
|
||||
|
||||
## Run
|
||||
## Run Linux/Mac
|
||||
|
||||
```bash
|
||||
|
||||
|
@ -55,6 +55,36 @@ adguardhome-sync run
|
|||
adguardhome-sync run --cron "*/10 * * * *"
|
||||
```
|
||||
|
||||
## Run Windows
|
||||
|
||||
```bash
|
||||
@ECHO OFF
|
||||
@TITLE AdGuardHome-Sync
|
||||
|
||||
REM set LOG_LEVEL=debug
|
||||
set LOG_LEVEL=info
|
||||
REM set LOG_LEVEL=warn
|
||||
REM set LOG_LEVEL=error
|
||||
|
||||
set ORIGIN_URL=http://173.82.107.239:54321
|
||||
set ORIGIN_USERNAME=admin
|
||||
set ORIGIN_PASSWORD=Juriel@0805
|
||||
|
||||
set REPLICA_URL=http://127.0.0.1:54321
|
||||
set REPLICA_USERNAME=admin
|
||||
set REPLICA_PASSWORD=Juriel@0805
|
||||
|
||||
set FEATURES_DHCP=false
|
||||
set FEATURES_DHCP_SERVERCONFIG=false
|
||||
set FEATURES_DHCP_STATICLEASES=false
|
||||
|
||||
# run once
|
||||
adguardhome-sync run
|
||||
|
||||
# run as daemon
|
||||
adguardhome-sync run --cron "*/10 * * * *"
|
||||
```
|
||||
|
||||
## docker cli
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue