mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-11-10 09:12:29 +08:00
Update README.md
This commit is contained in:
parent
e091914a06
commit
9a32a1d638
1 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ export REPLICA1_PASSWORD=password
|
||||||
adguardhome-sync run
|
adguardhome-sync run
|
||||||
|
|
||||||
# run as daemon
|
# run as daemon
|
||||||
adguardhome-sync run --cron "*/10 * * * *"
|
adguardhome-sync run --cron "0 */2 * * *"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run Windows
|
## Run Windows
|
||||||
|
@ -103,7 +103,7 @@ set FEATURES_DHCP_STATICLEASES=false
|
||||||
adguardhome-sync run
|
adguardhome-sync run
|
||||||
|
|
||||||
# run as daemon
|
# run as daemon
|
||||||
adguardhome-sync run --cron "*/10 * * * *"
|
adguardhome-sync run --cron "0 */2 * * *"
|
||||||
```
|
```
|
||||||
|
|
||||||
## docker cli
|
## docker cli
|
||||||
|
@ -164,7 +164,7 @@ services:
|
||||||
# REPLICA2_AUTO_SETUP: true # if true, AdGuardHome is automatically initialized.
|
# REPLICA2_AUTO_SETUP: true # if true, AdGuardHome is automatically initialized.
|
||||||
# REPLICA2_INTERFACE_NAME: 'ens18' # use custom dhcp interface name
|
# REPLICA2_INTERFACE_NAME: 'ens18' # use custom dhcp interface name
|
||||||
# REPLICA2_DHCP_SERVER_ENABLED: true/false (optional) enables/disables the dhcp server on the replica
|
# REPLICA2_DHCP_SERVER_ENABLED: true/false (optional) enables/disables the dhcp server on the replica
|
||||||
CRON: "*/10 * * * *" # run every 10 minutes
|
CRON: "0 */2 * * *" # run every 10 minutes
|
||||||
RUNONSTART: true
|
RUNONSTART: true
|
||||||
# CONTINUE_ON_ERROR: false # If enabled, the synchronisation task will not fail on single errors, but will log the errors and continue
|
# CONTINUE_ON_ERROR: false # If enabled, the synchronisation task will not fail on single errors, but will log the errors and continue
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@ location: $HOME/.adguardhome-sync.yaml
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# cron expression to run in daemon mode. (default; "" = runs only once)
|
# cron expression to run in daemon mode. (default; "" = runs only once)
|
||||||
cron: "*/10 * * * *"
|
cron: "0 */2 * * *"
|
||||||
|
|
||||||
# runs the synchronisation on startup
|
# runs the synchronisation on startup
|
||||||
runOnStart: true
|
runOnStart: true
|
||||||
|
|
Loading…
Reference in a new issue