Update umbrel-install.sh

enable umbrel-startup.service
This commit is contained in:
tteckster 2022-11-12 17:25:58 -05:00 committed by GitHub
parent c866343d29
commit dcd68b523a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -89,6 +89,8 @@ EOF
msg_info "Installing Umbrel (Patience)" msg_info "Installing Umbrel (Patience)"
curl -sL https://umbrel.sh | bash &>/dev/null curl -sL https://umbrel.sh | bash &>/dev/null
systemctl daemon-reload
systemctl enable --now umbrel-startup.service &>/dev/null
msg_ok "Installed Umbrel" msg_ok "Installed Umbrel"
PASS=$(grep -w "root" /etc/shadow | cut -b6) PASS=$(grep -w "root" /etc/shadow | cut -b6)
@ -108,7 +110,6 @@ EOF
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
msg_ok "Customized Container" msg_ok "Customized Container"
fi fi
cd ~/umbrel/scripts && bash start &>/dev/null
msg_info "Cleaning up" msg_info "Cleaning up"
apt-get autoremove >/dev/null apt-get autoremove >/dev/null
apt-get autoclean >/dev/null apt-get autoclean >/dev/null