From c0d800d3d048b71cfad676918e19481cdacc45be Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Thu, 29 Aug 2024 12:43:34 +0300 Subject: [PATCH] Add shebang for postgres scripts --- data/storage/postgres/create_db_with_users.sh | 1 + data/storage/postgres/create_ers_db.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/storage/postgres/create_db_with_users.sh b/data/storage/postgres/create_db_with_users.sh index 484290ec1..b193b3f5f 100644 --- a/data/storage/postgres/create_db_with_users.sh +++ b/data/storage/postgres/create_db_with_users.sh @@ -1,3 +1,4 @@ +#!/bin/bash # # Sample db and users creation. Replace here with your own details diff --git a/data/storage/postgres/create_ers_db.sh b/data/storage/postgres/create_ers_db.sh index c697fa9d5..17b760cda 100644 --- a/data/storage/postgres/create_ers_db.sh +++ b/data/storage/postgres/create_ers_db.sh @@ -1,4 +1,5 @@ +#!/bin/bash -# extra DB for ees and ers +# extra DB for ers sudo -u postgres dropdb -e cgrates2 sudo -u postgres createdb -e -O cgrates cgrates2