11 lines
No EOL
296 B
Bash
11 lines
No EOL
296 B
Bash
#!/bin/bash
|
|
# Copied the entrypoint and slightly altered, from parkervcp's dart yolk.
|
|
|
|
cd /home/container
|
|
|
|
# Replace startup variables
|
|
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
|
|
|
# Run the server
|
|
eval ${MODIFIED_STARTUP} |