Add purge command to remove all config files

This commit is contained in:
2022-12-02 16:36:24 +01:00
parent f45cc7985d
commit 61dbd439a7
2 changed files with 12 additions and 1 deletions

View File

@ -92,7 +92,12 @@ $ docker-compose run wg show 1
### Remove configuration and create new one from scratch
Remove existing config files or rename device in `docker-compose.yml`. Run command `docker-compose up` again.
Stop the service and run the following command to remove existing config files.
```
$ docker-compose run wg purge
```
Run command `docker-compose up` again to generate new config files.
## Client configurations