Restarting the correct service
This commit is contained in:
parent
9fa1365092
commit
dc231008b6
@ -35,7 +35,7 @@ sub install_if_new {
|
|||||||
say 'Writting new file';
|
say 'Writting new file';
|
||||||
open $fh, '>', $output_file;
|
open $fh, '>', $output_file;
|
||||||
print $fh $contents;
|
print $fh $contents;
|
||||||
system 'systemctl', 'restart', 'vpnmanager';
|
system 'systemctl', 'restart', 'wg-quick@wg0';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
say 'Files equal';
|
say 'Files equal';
|
||||||
|
Loading…
Reference in New Issue
Block a user