Using reload instead of wg-quick
This commit is contained in:
parent
27759d1baf
commit
2001133b09
@ -44,7 +44,7 @@ sub install_from_script($script, $output_file) {
|
||||
}
|
||||
|
||||
sub install_if_new_wireguard {
|
||||
system 'systemctl', 'restart', 'wg-quick@wg0' if install_from_script('get_wg_config.pl', '/etc/wireguard/wg0.conf');
|
||||
system 'systemctl', 'reload', 'wg-quick@wg0' if install_from_script('get_wg_config.pl', '/etc/wireguard/wg0.conf');
|
||||
}
|
||||
|
||||
sub install_if_new_whitelist {
|
||||
|
Loading…
Reference in New Issue
Block a user