aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/js
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 11:49:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 11:49:40 +0300
commitb4542b442e4671fa400e3ee34335d0a3fc89609e (patch)
tree0deab5b49137bcb1c258da8220e9ff1e6dd4b039 /assets/js
parentfix wg-quick instructions (diff)
downloadwireguard-config-b4542b442e4671fa400e3ee34335d0a3fc89609e.tar.gz
wireguard-config-b4542b442e4671fa400e3ee34335d0a3fc89609e.zip
fix systemd instructions
Diffstat (limited to '')
-rw-r--r--assets/js/main.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index d332a15..4ab4cc5 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -258,8 +258,8 @@ function systemd_client_netdev_file(data) {
return new ConfigFile(path,
`# On the client, you need two files. Put this into
# ${path}
-# and after you're done with both files,
-# restart the systemd-networkd service.
+# and after you're done with both files, run
+# systemctl daemon-reload && systemctl restart systemd-networkd
[NetDev]
Name = ${iface}
@@ -283,7 +283,7 @@ function systemd_client_network_file(data) {
`# This is the second file. Put this into
# ${path}
# and if you're done with the first file already,
-# restart the systemd-networkd service.
+# systemctl daemon-reload && systemctl restart systemd-networkd
[Match]
Name = ${iface}
@@ -299,7 +299,8 @@ function systemd_server_netdev_file(data) {
return new ConfigFile(path,
`# On the server, add this to
# ${path}
-# and restart the systemd-networkd service.
+# and run
+# systemctl daemon-reload && systemctl restart systemd-networkd
# Previous contents goes here...