mirror of
https://github.com/ilyakooo0/xmrig-autoinstall.git
synced 2024-11-25 07:22:11 +03:00
Update hiveos-xmrig-installer.sh
This commit is contained in:
parent
684364cbf7
commit
9ec3e37d11
@ -51,7 +51,7 @@ echo "Type=simple" | tee -a /etc/systemd/system/xmrig.service
|
|||||||
echo "Restart=always" | tee -a /etc/systemd/system/xmrig.service
|
echo "Restart=always" | tee -a /etc/systemd/system/xmrig.service
|
||||||
echo "RestartSec=3" | tee -a /etc/systemd/system/xmrig.service
|
echo "RestartSec=3" | tee -a /etc/systemd/system/xmrig.service
|
||||||
echo "User=root" | tee -a /etc/systemd/system/xmrig.service
|
echo "User=root" | tee -a /etc/systemd/system/xmrig.service
|
||||||
echo "ExecStart=/root/MINERS/xmrig/xmrig ${POOL_COIN} ${POOL_TLS} -o ${POOL_HOST}:${POOL_PORT} -u ${POOL_USER} -p ${POOL_PASS} ${POOL_LOG} --donate-level=0" | tee -a /etc/systemd/system/xmrig.service
|
echo "ExecStart=${INSTALL_DIR}/${DIR_NAME}/xmrig ${POOL_COIN} ${POOL_TLS} -o ${POOL_HOST}:${POOL_PORT} -u ${POOL_USER} -p ${POOL_PASS} ${POOL_LOG} --donate-level=0" | tee -a /etc/systemd/system/xmrig.service
|
||||||
echo "" | tee -a /etc/systemd/system/xmrig.service
|
echo "" | tee -a /etc/systemd/system/xmrig.service
|
||||||
echo "[Install]" | tee -a /etc/systemd/system/xmrig.service
|
echo "[Install]" | tee -a /etc/systemd/system/xmrig.service
|
||||||
echo "WantedBy=multi-user.target" | tee -a /etc/systemd/system/xmrig.service
|
echo "WantedBy=multi-user.target" | tee -a /etc/systemd/system/xmrig.service
|
||||||
|
Loading…
Reference in New Issue
Block a user