mirror of
https://github.com/ilyakooo0/xmrig-bash-scripts.git
synced 2024-11-22 04:04:22 +03:00
.
This commit is contained in:
parent
e01cd6c662
commit
2351eb4685
2
start.sh
2
start.sh
@ -34,7 +34,7 @@ echo "Type=simple" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "Restart=always" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "RestartSec=3" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "User=root" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "ExecStart=$(pwd)/xmrig --config=$_XMRIG_CONFIG_LOCATION" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "ExecStart=$(pwd)/$_XMRIG_BUILD_LOCATION/xmrig --config=$_XMRIG_CONFIG_LOCATION" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "[Install]" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
echo "WantedBy=multi-user.target" | sudo tee -a /etc/systemd/system/xmrig.service
|
||||
|
Loading…
Reference in New Issue
Block a user