vatertime / minecraft-spot-pricing

Cloudformation template to deploy a Minecraft server
MIT License
140 stars 84 forks source link

Added template parameters for ECS task EntryPoint and Command #16

Closed javabrett closed 2 years ago

javabrett commented 2 years ago

This allows overriding itzg/minecraft-server default EntryPoint (/start) and default Command (empty) to customise launch with additional or custom commands, usually finishing with: exec /start .

The template will accept either of these as comma-separated lists, e.g.:

When the default EntryPoint of /start is overridden, the script should always exec it to ensure it runs as PID 1.

Shout-out to @67shafar for advice on the template change.