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';
|
||||
open $fh, '>', $output_file;
|
||||
print $fh $contents;
|
||||
system 'systemctl', 'restart', 'vpnmanager';
|
||||
system 'systemctl', 'restart', 'wg-quick@wg0';
|
||||
return;
|
||||
}
|
||||
say 'Files equal';
|
||||
|
|
Loading…
Reference in New Issue