feat(dbms): introduce TDBMS CLI client app

This commit is contained in:
2023-02-05 15:06:16 +03:00
parent 86dae4c264
commit 84e3dd19e1
2 changed files with 49 additions and 0 deletions
+8
View File
@@ -80,5 +80,13 @@ fi
chown 0:0 /etc/systemd/system/tdbms.service
chmod 0644 /etc/systemd/system/tdbms.service
if ! (cmake -S .. -B ../build && cmake --build ../build --target tdb); then
echo "FATAL: failed to build TDB CLI client"
exit 1
fi
mv -f ../build/tdb /usr/bin/
chown 42776 /usr/bin/tdb
chmod 4755 /usr/bin/tdb
echo "TDBMS server successfully installed."
echo "Start it with 'systemctl start tdbms'"