Update wireguard.sh

This commit is contained in:
Teddysun 2019-10-16 21:00:05 +09:00
parent 281dfd73a6
commit b4399259aa
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -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