diff --git a/hiveos-xmrig-installer.sh b/hiveos-xmrig-installer.sh index 05c64dd..0df5d64 100644 --- a/hiveos-xmrig-installer.sh +++ b/hiveos-xmrig-installer.sh @@ -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 "RestartSec=3" | 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 "[Install]" | tee -a /etc/systemd/system/xmrig.service echo "WantedBy=multi-user.target" | tee -a /etc/systemd/system/xmrig.service