Skip to content

Commit

Permalink
Removed postgres initialization from wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Sep 1, 2023
1 parent af61eb7 commit 0eda389
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dqmsquare_k8_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,8 @@ service=$1
#sudo mkdir -p /cephfs/testbed/dqmsquare_mirror/log/
#sudo find /cephfs/testbed/dqmsquare_mirror -type d -exec chmod 777 {} \;

sudo mkdir -p /cinder/dqmsquare/db/
sudo mkdir -p /cinder/dqmsquare/tmp/
sudo mkdir -p /cinder/dqmsquare/log/
sudo find /cinder/dqmsquare -type d -exec chmod 777 {} \;
sudo chown postgres:postgres /cinder/dqmsquare/db

echo `ls -alF /cinder/dqmsquare/pgdb`
/usr/lib/postgresql/13/bin/pg_ctl -D /cinder/dqmsquare/pgdb initdb
sudo chown -R postgres /cinder/dqmsquare/pgdb
sudo find /cinder/dqmsquare/pgdb -type d -exec chmod 0700 {} \;

python3 dqmsquare_cfg.py k8

Expand Down

0 comments on commit 0eda389

Please sign in to comment.