From d1ba987908cd2e623969e813815bcf205bb2ba77 Mon Sep 17 00:00:00 2001 From: N0jj4 Date: Fri, 31 Jan 2020 12:43:42 +0900 Subject: [PATCH] Documentation correction --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1acc152..3c59050 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,10 @@ services: volumes: - /etc/wireguard:/data ``` -Please note that mapping /etc/wireguard to /data inside the docker, will erase your host's current configuration. -If needed, please make sure to backup your files within /etc/wireguard. -A workaround would be to change the WG_INTERFACE_NAME to something different, as it will create a new interface (wg-auto.conf for example), note that if you do so, you will have to adapt your daemon accordingly. +Please note that mapping ```/etc/wireguard``` to ```/data``` inside the docker, will erase your host's current configuration. +If needed, please make sure to backup your files from ```/etc/wireguard```. + +A workaround would be to change the ```WG_INTERFACE_NAME``` to something different, as it will create a new interface (```wg-auto.conf``` for example), note that if you do so, you will have to adapt your daemon accordingly. ### Automatically apply changes using ```systemd``` Using `systemd.path` monitor for directory changes see [systemd doc](https://www.freedesktop.org/software/systemd/man/systemd.path.html) ```