1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-28 09:33:13 +02:00

Update nocodb.sh

revert test
This commit is contained in:
tteckster 2023-10-21 12:16:58 -04:00 committed by GitHub
parent f2a7a1699d
commit 8e6f0c185c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,21 +59,7 @@ cd /opt/nocodb
rm -rf nocodb
curl -s http://get.nocodb.com/linux-x64 -o nocodb -L
chmod +x nocodb
service_path="/etc/systemd/system/nocodb.service"
echo "[Unit]
Description=nocodb
[Service]
Type=simple
Restart=always
User=root
WorkingDirectory=/opt/nocodb
ExecStart=/opt/nocodb/./nocodb
[Install]
WantedBy=multi-user.target" >$service_path
systemctl -q daemon-reload
systemctl start -q nocodb.service
systemctl start nocodb.service
msg_ok "Updated Successfully"
exit
}