From 7ef7475dc29bf6fb31fed6d78972f82720725930 Mon Sep 17 00:00:00 2001 From: Pavel Sviderski Date: Fri, 20 Sep 2024 23:14:08 +1000 Subject: [PATCH] remove redundant logging in install.sh --- scripts/install.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index fc2e3d89..8146eba9 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -124,13 +124,7 @@ install_uncloud_binaries() { install_uncloud_systemd() { local uncloud_service_path="${INSTALL_SYSTEMD_DIR}/uncloud.service" - if [ -f "${uncloud_service_path}" ]; then - log "⏳ Updating systemd unit for Uncloud machine daemon..." - else - log "⏳ Installing systemd unit for Uncloud machine daemon..." - fi - - cat << EOF | sudo tee "${INSTALL_SYSTEMD_DIR}/uncloud.service" > /dev/null + cat << EOF | tee "${uncloud_service_path}" > /dev/null [Unit] Description=Uncloud machine daemon After=network-online.target