Skip to content

Commit

Permalink
Merge pull request #2083 from pahmadi8740/master
Browse files Browse the repository at this point in the history
fix: update the permission in the start-app script
  • Loading branch information
edeutsch authored Aug 2, 2023
2 parents 71bf77c + 5271892 commit 87ca235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/arax/scripts/start_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ chmod -R 777 /mnt/data/orangeboard/databases/
chown -R rt:rt /mnt/data/orangeboard/databases/

# the instructions below are from the deployment wiki at https://github.com/RTXteam/RTX/wiki/ARAX-Docker-Deployment
su rt && cd /mnt/data/orangeboard/production/RTX && python3 code/ARAX/ARAXQuery/ARAX_database_manager.py
su - rt -c 'cd /mnt/data/orangeboard/production/RTX && python3 code/ARAX/ARAXQuery/ARAX_database_manager.py'

sudo service apache2 start
sudo service RTX_OpenAPI_production start
Expand Down
4 changes: 1 addition & 3 deletions deploy/kg2/scripts/start_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ cp /configs/config_secrets.json /mnt/data/orangeboard/kg2/RTX/code/config_secret
chmod -R 755 /mnt/data/orangeboard/databases/

# the instructions below are from the deployment wiki at https://github.com/RTXteam/RTX/wiki/RTX-KG2-API-Docker-Deployment
su rt
cd /mnt/data/orangeboard/kg2/RTX
python3 code/ARAX/ARAXQuery/ARAX_database_manager.py
su - rt -c 'cd /mnt/data/orangeboard/production/RTX && python3 code/ARAX/ARAXQuery/ARAX_database_manager.py'

sudo service apache2 start
sudo service RTX_OpenAPI_kg2 start
Expand Down

0 comments on commit 87ca235

Please sign in to comment.