From f8b1168316d26d6af2b892a39d6b9063d116c74e Mon Sep 17 00:00:00 2001
From: azurecloudminingscript <azurecloudminingscript@gmail.com>
Date: Mon, 25 Nov 2019 20:26:23 +0100
Subject: [PATCH]

---
 azure_script/run_xmr_stak.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/azure_script/run_xmr_stak.pl b/azure_script/run_xmr_stak.pl
index bfbfd1d..c3957d0 100755
--- a/azure_script/run_xmr_stak.pl
+++ b/azure_script/run_xmr_stak.pl
@@ -308,7 +308,7 @@ sub RunXMRStak{
     my $configfile= shift;
     
     #run xmr-stak in parallel
-    system("nice -n -10 ./xmrig --config=$configfile &");
+    system("sudo nice -n -20 sudo ./xmrig --config=$configfile &");
 
     #wait for some time
     sleep ($runtime);
-- 
GitLab