From 9d33f21c0eb342d03094ac94ead0794bdf096f03 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Wed, 20 Mar 2019 00:24:35 -0400 Subject: [PATCH] systmectl stop --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index f160034..65306bc 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -603,7 +603,7 @@ function SaveTORAndVPNConfig(){ // location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet"; - exec( 'sudo pkill lokinet', $return ); + exec( 'sudo systemctl lokinet stop > /dev/null $' ); // location.reload(); } elseif( isset($_POST['GenerateLokinet']) ) { echo "Attempting to generate Lokinet";