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.:
EntryPoint - /bin/bash,-c
Command - echo HelloWorld;exec /start
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.
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.:
/bin/bash,-c
echo HelloWorld;exec /start
When the default EntryPoint of
/start
is overridden, the script should alwaysexec
it to ensure it runs as PID 1.Shout-out to @67shafar for advice on the template change.