From 061700aaf11b6cc5694dcddbb8b37dddba289636 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Tue, 19 Mar 2019 22:03:34 -0400 Subject: [PATCH] system control --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 8c905da..4234cf5 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -599,7 +599,7 @@ function SaveTORAndVPNConfig(){ } } elseif( isset($_POST['StartLokinet']) ) { echo "Attempting to start Lokinet"; - exec( 'sudo /home/pi/loki-network/lokinet' ); + exec( 'sudo systemctl start lokinet', $return ); location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet";