Add .editorconfig and correct indentation for many seqs
This commit is contained in:
@@ -72,7 +72,7 @@ step_4_info() { echo "Create postgres database for $toolName"; }
|
||||
step_4_alias() { ALIAS="createdb"; }
|
||||
step_4() {
|
||||
readDatabaseInfos
|
||||
|
||||
|
||||
exe cd ~postgres
|
||||
exe sudo -u postgres psql -c "CREATE USER ${postgresUser} WITH password '${postgresPass}';"
|
||||
# -O owner : Specifies the database user who will own the new database.
|
||||
@@ -101,7 +101,7 @@ supervisordConfLoc="/etc/supervisor/conf.d/mayan.conf"
|
||||
step_7_info() { echo "Redis configuration file"; }
|
||||
step_7() {
|
||||
addConf -a "$redisConf" "$redisConfLoc"
|
||||
|
||||
|
||||
exe systemctl restart redis
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ toolScript() {
|
||||
if [ ! -z "$1" ] ; then
|
||||
readDatabaseInfos
|
||||
fi
|
||||
|
||||
|
||||
exep "sudo -u mayan \
|
||||
MAYAN_DATABASES=\"{'default':{'ENGINE':'django.db.backends.postgresql','NAME':'${postgresDb}','PASSWORD':'${postgresPass}','USER':'${postgresUser}','HOST':'127.0.0.1'}}\" \
|
||||
MAYAN_MEDIA_ROOT=${toolMediaFolder} \
|
||||
|
Reference in New Issue
Block a user