mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-01 22:21:54 +00:00
11 lines
234 B
Bash
11 lines
234 B
Bash
#!/bin/bash
|
|
sleep 1
|
|
|
|
cd /home/container
|
|
|
|
# Replace Startup Variables
|
|
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
|
|
|
# Run the Server
|
|
${MODIFIED_STARTUP} |