mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
reformed sql query
This commit is contained in:
6
entry.sh
vendored
6
entry.sh
vendored
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
sudo -u postgres pg_ctl -D /var/lib/postgres/data -l /srv/logs/pgsql.log start
|
||||
sudo -u postgres psql -f create_db.sql
|
||||
rm entry.sh
|
||||
echo "sudo -u postgres pg_ctl -D /var/lib/postgres/data -l /srv/logs/lgsql.log start" > entry.sh
|
||||
chmod +x entry.sh
|
||||
rm /srv/http/entry.sh
|
||||
echo "sudo -u postgres pg_ctl -D /var/lib/postgres/data -l /srv/logs/lgsql.log start" > /srv/http/entry.sh
|
||||
chmod +x /srv/http/entry.sh
|
||||
|
||||
Reference in New Issue
Block a user