Initial
This commit is contained in:
12
server/bin/start.sh
Normal file
12
server/bin/start.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Set PS1 so we know we're in the container, should we exec into it.
|
||||
cat > .bashrc <<EOF
|
||||
alias ls='ls --color'
|
||||
export PS1="${debian_chroot:+($debian_chroot)}\u@dz-server:\w\$ "
|
||||
unset DEVELOPMENT
|
||||
EOF
|
||||
|
||||
# Start the server.
|
||||
# If the DEVELOPMENT environment variable is set to 1, the container will just block and not start the server.
|
||||
exec dz start
|
||||
Reference in New Issue
Block a user