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