Skip to content

Commit d6059dc

Browse files
committed
fix: further fix attempt
1 parent b72ee67 commit d6059dc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/base/ampstart.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,4 @@ echo "[Info] Starting AMP..."
6565
ARGS=$@
6666
exec su -l -s /bin/bash \
6767
-w AMPHOSTPLATFORM,AMP_CONTAINER,AMPMEMORYLIMIT,AMPSWAPLIMIT,AMPCONTAINERCPUS,AMP_CONTAINER_HOST_NETWORK,LANG,LANGUAGE,LC_ALL \
68-
amp -c "
69-
export LD_LIBRARY_PATH=/opt/cubecoders/amp:/AMP
70-
/opt/cubecoders/amp/ampinstmgr -sync-certs
71-
cd /AMP
72-
exec ${AMP_BIN} ${ARGS}
73-
"
68+
amp -c "export LD_LIBRARY_PATH=/opt/cubecoders/amp:/AMP; ampinstmgr -sync-certs; cd /AMP; HOME=/home/amp exec ${AMP_BIN} ${ARGS}"

0 commit comments

Comments
 (0)