From dc231008b63cb653b08996e1e04dba217a6feadd Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Wed, 17 Jul 2024 01:04:58 +0200 Subject: [PATCH] Restarting the correct service --- script/installer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/installer.pl b/script/installer.pl index c80a34d..aad5c7b 100644 --- a/script/installer.pl +++ b/script/installer.pl @@ -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';