Update nocodb.sh
tweak
This commit is contained in:
parent
537a855553
commit
b81028fb3b
1 changed files with 3 additions and 4 deletions
|
@ -59,8 +59,8 @@ cd /opt/nocodb
|
||||||
rm -rf nocodb
|
rm -rf nocodb
|
||||||
curl -s http://get.nocodb.com/linux-x64 -o nocodb -L
|
curl -s http://get.nocodb.com/linux-x64 -o nocodb -L
|
||||||
chmod +x nocodb
|
chmod +x nocodb
|
||||||
cat <<EOF >/etc/systemd/system/nocodb.service"
|
service_path="/etc/systemd/system/nocodb.service"
|
||||||
[Unit]
|
echo "[Unit]
|
||||||
Description=nocodb
|
Description=nocodb
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -71,8 +71,7 @@ WorkingDirectory=/opt/nocodb
|
||||||
ExecStart=/opt/nocodb/./nocodb
|
ExecStart=/opt/nocodb/./nocodb
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target" >$service_path
|
||||||
EOF
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl start nocodb.service
|
systemctl start nocodb.service
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
|
|
Loading…
Reference in a new issue