Initial commit, taken from https://github.com/AlphaJack/docker-alps
This commit is contained in:
commit
f2ddca44b1
4 changed files with 131 additions and 0 deletions
14
init
Executable file
14
init
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
ARGS="${@}"
|
||||
|
||||
if [ "${ALPS_PARAMETERS+isSet}" ]; then
|
||||
# use environmental variable
|
||||
/alps $ALPS_PARAMETERS
|
||||
elif [ -n "$ARGS" ]; then
|
||||
# use arguments
|
||||
/alps $ARGS
|
||||
else
|
||||
# fallback to default server
|
||||
/alps "migadu.com"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue