add Make sure to stop the service before modifying the configuration

This commit is contained in:
2025-03-02 08:50:58 +01:00
parent 92dd8d3c24
commit ef43428179

View File

@@ -12,6 +12,10 @@
# Perform this backup before any modification # Perform this backup before any modification
# cp /etc/wireguard/wg0.conf /etc/wireguard/wg0.conf.bak # cp /etc/wireguard/wg0.conf /etc/wireguard/wg0.conf.bak
# Stopping the WireGuard service before modifying the configuration
# Make sure to stop the service before modifying the configuration
# sudo systemctl stop wg-quick@wg0
# Modify the WireGuard configuration # Modify the WireGuard configuration
# Open the configuration file to modify it # Open the configuration file to modify it
# nano /etc/wireguard/wg0.conf # nano /etc/wireguard/wg0.conf