Restarting the correct service

This commit is contained in:
sergiotarxz 2024-07-17 01:04:58 +02:00
parent 9fa1365092
commit dc231008b6
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ sub install_if_new {
say 'Writting new file';
open $fh, '>', $output_file;
print $fh $contents;
system 'systemctl', 'restart', 'vpnmanager';
system 'systemctl', 'restart', 'wg-quick@wg0';
return;
}
say 'Files equal';