Skip to content

Commit

Permalink
Merge pull request #125 from MitchTalmadge/staging-startonboot
Browse files Browse the repository at this point in the history
Fix Start On Boot
  • Loading branch information
MitchTalmadge authored Jun 10, 2022
2 parents ff7c158 + 00a56fc commit 2a9341b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ su ${APP_USER} --command "ampinstmgr UpgradeAll" | grep --line-buffered -v -E '\

# Set Main instance to start on boot if not already.
echo "Ensuring Main Instance will Start on Boot..."
su ${APP_USER} --command "ampinstmgr ShowInstanceInfo Main | grep \"Start on Boot\" | grep \"No\" && ampinstmgr SetStartBoot Main || true"
su ${APP_USER} --command "ampinstmgr ShowInstanceInfo Main | grep \"Start on Boot\" | grep \"No\" && ampinstmgr SetStartBoot Main yes || true"

# Startup
echo "Starting AMP..."
Expand Down

0 comments on commit 2a9341b

Please sign in to comment.