remove redundant logging in install.sh

This commit is contained in:
Pavel Sviderski
2024-09-20 23:14:08 +10:00
parent 73be824f30
commit 7ef7475dc2
+1 -7
View File
@@ -124,13 +124,7 @@ install_uncloud_binaries() {
install_uncloud_systemd() { install_uncloud_systemd() {
local uncloud_service_path="${INSTALL_SYSTEMD_DIR}/uncloud.service" local uncloud_service_path="${INSTALL_SYSTEMD_DIR}/uncloud.service"
if [ -f "${uncloud_service_path}" ]; then cat << EOF | tee "${uncloud_service_path}" > /dev/null
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
[Unit] [Unit]
Description=Uncloud machine daemon Description=Uncloud machine daemon
After=network-online.target After=network-online.target