git.iko.soy/xmrig-bash-scripts
on master help sign in
.
commit2351eb4685ba1d54875b37ddadd5218d475a0696 authoriko <mail@iko.soy> dateTue 28 Mar 2023, 22:12 (4 years ago) parente01cd6c
1 file changed+1−1
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 --config=$_XMRIG_CONFIG_LOCATION" | 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
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