From 9ec3e37d118e694d1a1a06d73c12d934ba0eb4c8 Mon Sep 17 00:00:00 2001 From: MooCat <43627985+leshacat@users.noreply.github.com> Date: Sun, 18 Apr 2021 18:31:45 -0400 Subject: [PATCH] Update hiveos-xmrig-installer.sh --- hiveos-xmrig-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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