Skip to content

Commit f932bd1

Browse files
authored
Update ampstart.sh
Preserve environment about host
1 parent f5e95e2 commit f932bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ampstart.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ export AMP_CONTAINER
2828
export AMPMEMORYLIMIT
2929

3030
ARGS=$@
31-
exec su -l -c "ampinstmgr --sync-certs; cd /AMP; HOME=/home/amp /AMP/AMP_Linux_x86_64 ${ARGS}; exit $?" -- amp
31+
exec su -l -w AMPHOSTPLATFORM,AMP_CONTAINER,AMPMEMORYLIMIT -c "ampinstmgr --sync-certs; cd /AMP; HOME=/home/amp /AMP/AMP_Linux_x86_64 ${ARGS}; exit $?" -- amp
3232
exit $?

0 commit comments

Comments
 (0)