From b81028fb3bde93724772719ee7259e89a3aa4efd Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 21 Oct 2023 11:48:25 -0400 Subject: [PATCH] Update nocodb.sh tweak --- ct/nocodb.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/nocodb.sh b/ct/nocodb.sh index 4ac7fea0..018a06b2 100644 --- a/ct/nocodb.sh +++ b/ct/nocodb.sh @@ -59,8 +59,8 @@ cd /opt/nocodb rm -rf nocodb curl -s http://get.nocodb.com/linux-x64 -o nocodb -L chmod +x nocodb -cat </etc/systemd/system/nocodb.service" -[Unit] +service_path="/etc/systemd/system/nocodb.service" +echo "[Unit] Description=nocodb [Service] @@ -71,8 +71,7 @@ WorkingDirectory=/opt/nocodb ExecStart=/opt/nocodb/./nocodb [Install] -WantedBy=multi-user.target -EOF +WantedBy=multi-user.target" >$service_path systemctl daemon-reload systemctl start nocodb.service msg_ok "Updated Successfully"