浏览代码

Update umbrel-install.sh

enable umbrel-startup.service
tteckster 2 年之前
父节点
当前提交
dcd68b523a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      setup/umbrel-install.sh

+ 2 - 1
setup/umbrel-install.sh

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