v0.3.1
This commit is contained in:
10
resources/docker/entrypoint.sh
Normal file
10
resources/docker/entrypoint.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
# shellcheck shell=dash
|
||||
|
||||
# If the configuration file does not exist wait until it does.
|
||||
while [ ! -f /opt/stalwart-mail/etc/config.toml ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# If the configuration file exists, start the server.
|
||||
exec /usr/local/bin/stalwart-mail --config /opt/stalwart-mail/etc/config.toml
|
||||
Reference in New Issue
Block a user