Skip to content

Commit c7884d0

Browse files
committed
fix: try without exec
1 parent d6059dc commit c7884d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/base/ampstart.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +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 "export LD_LIBRARY_PATH=/opt/cubecoders/amp:/AMP; ampinstmgr -sync-certs; cd /AMP; HOME=/home/amp exec ${AMP_BIN} ${ARGS}"
68+
amp -c "export LD_LIBRARY_PATH=/opt/cubecoders/amp:/AMP; ampinstmgr -sync-certs; cd /AMP; HOME=/home/amp ${AMP_BIN} ${ARGS}"

0 commit comments

Comments
 (0)