Skip to content

Commit

Permalink
Merge pull request #3 from woodser/install_script
Browse files Browse the repository at this point in the history
install script expects haveno-pricenode in same directory as haveno
  • Loading branch information
woodser authored Dec 11, 2022
2 parents f801a52 + 393bbb8 commit 531e680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_pricenode_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ echo "[*] Building Haveno from source"
sudo -H -i -u "${HAVENO_USER}" sh -c "cd ${HAVENO_HOME}/${HAVENO_REPO_NAME} && ./gradlew build -x test < /dev/null"

echo "[*] Installing haveno-pricenode systemd service"
sudo -H -i -u "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${HAVENO_HOME}/${HAVENO_REPO_NAME}/scripts/haveno-pricenode.service" "${SYSTEMD_SERVICE_HOME}"
sudo -H -i -u "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${HAVENO_HOME}/${HAVENO_REPO_NAME}/scripts/haveno-pricenode.env" "${SYSTEMD_ENV_HOME}"
sudo -H -i -u "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${HAVENO_HOME}/../${HAVENO_REPO_NAME}/scripts/haveno-pricenode.service" "${SYSTEMD_SERVICE_HOME}"
sudo -H -i -u "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${HAVENO_HOME}/../${HAVENO_REPO_NAME}/scripts/haveno-pricenode.env" "${SYSTEMD_ENV_HOME}"

echo "[*] Reloading systemd daemon configuration"
sudo -H -i -u "${ROOT_USER}" systemctl daemon-reload
Expand Down

0 comments on commit 531e680

Please sign in to comment.