mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
remove redundant logging in install.sh
This commit is contained in:
+1
-7
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user