mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2025-01-12 12:28:13 +00:00
13 lines
No EOL
297 B
Bash
13 lines
No EOL
297 B
Bash
#!/bin/sh
|
|
|
|
# Set password
|
|
echo "root:${PASSWORD}" | chpasswd
|
|
|
|
if [ -z ${PORT} ]
|
|
then
|
|
echo "Starting on default port: 57575"
|
|
/opt/app/butterfly.server.py --unsecure --host=0.0.0.0
|
|
else
|
|
echo "Starting on port: ${PORT}"
|
|
/opt/app/butterfly.server.py --unsecure --host=0.0.0.0 --port=${PORT}
|
|
fi |