Skip to content

Commit

Permalink
Merge pull request #2523 from uc-cdis/fix/update-post-command-in-user…
Browse files Browse the repository at this point in the history
…-license

fix: update post-command in user-license
  • Loading branch information
george42-ctds authored Jul 12, 2023
2 parents b8d5c5a + cc8a05a commit 5ef4d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qa-heal.planx-pla.net/manifests/hatchery/hatchery.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"cpu-limit": "1.0",
"memory-limit": "2Gi",
"name": "(Generic, User-licensed) Stata Notebook ",
"image": "quay.io/cdis/stata-heal:george-portal",
"image": "quay.io/cdis/stata-heal:feat_stata-license",
"env": {
"FRAME_ANCESTORS": "https://qa-heal.planx-pla.net"
},
Expand All @@ -87,7 +87,7 @@
"lifecycle-post-start": [
"/bin/sh",
"-c",
"(while true; do [ -d ~/pd ] && [ -f ~/pd/stata.lic ] && cp ~/pd/stata.lic /usr/local/stata17/; sleep 1; done) & export IAM=`whoami`; rm -rf /home/$IAM/pd/dockerHome; rm -rf /home/$IAM/pd/lost+found; ln -s /data /home/$IAM/pd/; true"
"export IAM=`whoami`; rm -rf /home/$IAM/pd/dockerHome; rm -rf /home/$IAM/pd/lost+found; ln -s /data /home/$IAM/pd/; true"
],
"user-uid": 1000,
"fs-gid": 100,
Expand Down

0 comments on commit 5ef4d18

Please sign in to comment.