Browse Source

Update wireguard.sh

Teddysun 6 years ago
parent
commit
b4399259aa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wireguard.sh

+ 1 - 0
wireguard.sh

@@ -651,6 +651,7 @@ update_from_source() {
         if _version_gt "${wireguard_ver}" "${installed_wg_ver}"; then
             _info "Starting upgrade WireGuard"
             install_wg_2
+            _error_detect "systemctl daemon-reload"
             _error_detect "systemctl restart wg-quick@${SERVER_WG_NIC}"
             _info "Update WireGuard completed"
         else