Update nocodb.sh

tweak
This commit is contained in:
tteckster 2023-10-21 11:48:25 -04:00 committed by GitHub
parent 537a855553
commit b81028fb3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <<EOF >/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"