feat: support to suspend

This commit is contained in:
mzz2017
2023-03-14 00:34:38 +08:00
parent ea568ebce5
commit 2b25e789db
9 changed files with 144 additions and 27 deletions

View File

@ -83,9 +83,3 @@ You should configure dae as follows:
4. If you bind to LAN, make sure your DHCP server will distribute dae as the DNS server (DNS request should be forwarded by dae for domain based traffic split).
##
```
```

View File

@ -0,0 +1,30 @@
# Reload and Suspend
dae supports configuration reloading and program suspending, which can help you save a lot of time when modifying the configuration or temporarily suspend dae.
**Reload**
Generally, dae won't interrupt connections when reloading configuration. And it is very fast compared to restart.
Usage:
```shell
dae reload
```
**Suspend**
It will be useful if you want to suspend dae temporarily and recover it later.
Usage:
```shell
dae suspend
```
If you want to recover, use reload:
```shell
dae reload
```