Documenting singularity role
This commit is contained in:
6
roles/Singularity/files/create-db.bash
Executable file
6
roles/Singularity/files/create-db.bash
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -Eeo pipefail
|
||||
sudo -u postgres createuser -W --createdb ttrss
|
||||
sudo -u postgres createdb -U ttrss ttrss
|
||||
sudo -u postgres psql ttrss -U ttrss -f /usr/share/webapps/tt-rss/sql/pgsql/schema.sql
|
||||
sudo -u http php /usr/share/webapps/tt-rss/update.php --update-schema
|
||||
Reference in New Issue
Block a user