From cc9457b01e99a0ace5e9fd93bd412858f6fb03dc Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Tue, 19 Mar 2019 23:43:38 -0400 Subject: [PATCH] start with screen --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index f1079fd..f4acfbc 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', $return ); + exec( 'sudo screem -S lokinet /home/pi/loki-network/lokinet', $return ); // location.reload(); } elseif( isset($_POST['StopLokinet']) ) { echo "Attempting to stop Lokinet";