git.iko.soy/xmrig-bash-scripts
on master help sign in
Update start.sh
commite6b4aab02cc6e0296fede3cfe3fd2bf8aedc12a7 authoriko <mail@iko.soy> dateTue 28 Mar 2023, 22:18 (4 years ago) parente568c9a
1 file changed+1−1
unifiedsplit
start.sh+1−1
start.sh+1−1
@@ -34,7 +34,7 @@ echo "Type=simple" | sudo tee -a /etc/systemd/system/xmrig.service
3434echo "Restart=always" | sudo tee -a /etc/systemd/system/xmrig.service
3535echo "RestartSec=3" | sudo tee -a /etc/systemd/system/xmrig.service
3636echo "User=root" | sudo tee -a /etc/systemd/system/xmrig.service
37−echo "ExecStart=$(pwd)/$_XMRIG_BUILD_LOCATION/xmrig --config=$_XMRIG_CONFIG_LOCATION" | sudo tee -a /etc/systemd/system/xmrig.service
37+echo "ExecStart=$_XMRIG_BUILD_LOCATION/xmrig --config=$_XMRIG_CONFIG_LOCATION" | sudo tee -a /etc/systemd/system/xmrig.service
3838echo "" | sudo tee -a /etc/systemd/system/xmrig.service
3939echo "[Install]" | sudo tee -a /etc/systemd/system/xmrig.service
4040echo "WantedBy=multi-user.target" | sudo tee -a /etc/systemd/system/xmrig.service