From 223eecdd8ed56231be260aeb49dc061ed0648083 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 21 Jan 2025 21:08:48 +0100 Subject: [PATCH] Update sqlserver2022-install.sh --- install/sqlserver2022-install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/sqlserver2022-install.sh b/install/sqlserver2022-install.sh index 1ece7da9f..63f8e01f6 100644 --- a/install/sqlserver2022-install.sh +++ b/install/sqlserver2022-install.sh @@ -39,13 +39,12 @@ $STD apt-get update $STD apt-get install -y \ mssql-tools18 \ unixodbc-dev -echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bash_profile -source ~/.bash_profile +echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bashrc +source ~/.bashrc msg_ok "Installed SQL Server Tools" msg_info "Start Service" -systemctl enable -q mssql-server -systemctl start -q mssql-server +systemctl enable -q --now mssql-server msg_ok "Service started" motd_ssh