speka autoreg + shim pool

This commit is contained in:
reform
2026-11-09 13:09:07 +03:00
commit 007a619f41
24 changed files with 734 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
cp /tmp/qs1.sql /tmp/qs2.sql /var/lib/postgresql/ 2>/dev/null
chown postgres:postgres /var/lib/postgresql/qs1.sql /var/lib/postgresql/qs2.sql 2>/dev/null
su postgres -c 'cd /var/lib/postgresql && psql -d newapi -A -t -f qs1.sql'
echo ---
su postgres -c 'cd /var/lib/postgresql && psql -d newapi -A -t -f qs2.sql'