add postgresql (#118)

This commit is contained in:
Saeed Vaziry
2024-03-16 01:04:57 +01:00
committed by GitHub
parent a406491160
commit 287c9c2a8a
25 changed files with 366 additions and 150 deletions

View File

@ -0,0 +1,6 @@
if ! sudo -u postgres psql -c "CREATE DATABASE __name__"; then
echo 'VITO_SSH_ERROR' && exit 1
fi
echo "Database __name__ created"