Update nocodb-install.sh

This commit is contained in:
tteckster 2022-04-09 13:44:09 -04:00 committed by GitHub
parent 176c8504dc
commit 308231fb9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,8 +88,9 @@ WorkingDirectory=/opt/nocodb
ExecStart=/usr/bin/npm start
[Install]
WantedBy=multi-user.target" > $service_path
systemctl enable --now nocodb.service
WantedBy=multi-user.target" > $service_path &>/dev/null
systemctl enable --now nocodb.service &>/dev/null
echo -e "${CM}${CL} \r"
PASS=$(grep -w "root" /etc/shadow | cut -b6);
if [[ $PASS != $ ]]; then