From 81129990df7704e0cbaacdf0f50a5fbdece960bc Mon Sep 17 00:00:00 2001 From: Steven Seifried Date: Sun, 9 Oct 2022 20:44:15 +0200 Subject: [PATCH] Updated snowflake-install.sh --- setup_files/snowflake-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup_files/snowflake-install.sh b/setup_files/snowflake-install.sh index 3848172..f170be7 100644 --- a/setup_files/snowflake-install.sh +++ b/setup_files/snowflake-install.sh @@ -101,6 +101,11 @@ WantedBy=multi-user.target EOF msg_ok "Created Service" +msg_info "Enable and start Service" +systemctl daemon-reload +systemctl enable --now snowflake.service +msg_ok "Enabled and started Service" + PASS=$(grep -w "root" /etc/shadow | cut -b6); if [[ $PASS != $ ]]; then msg_info "Customizing Container" @@ -116,7 +121,6 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840 EOF systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') -systemctl enable --now snowflake.service msg_ok "Customized Container" msg_info "Cleaning up"