speka autoreg + shim pool
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user