This commit is contained in:
mdecimus
2023-07-22 13:08:08 +02:00
parent 56aec86a86
commit 3699ef7dd4
13 changed files with 824 additions and 75 deletions

View 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