mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added default entry point
This commit is contained in:
6
entry.sh
vendored
Executable file
6
entry.sh
vendored
Executable file
@@ -0,0 +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
|
||||
Reference in New Issue
Block a user