mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-25 00:12:58 +08:00
Fixed entrypoint.sh
This commit is contained in:
parent
39cbb946f7
commit
132e86046e
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@ COPY resources/docker/entrypoint.sh /usr/local/bin/entrypoint.sh
|
|||
|
||||
RUN sed -i -e 's/__C__/all-in-one/g' /usr/local/bin/configure.sh && \
|
||||
sed -i -e 's/__R__/mail-server/g' /usr/local/bin/configure.sh && \
|
||||
sed -i -e 's/__N__/mail-sqlite/g' /usr/local/bin/configure.sh
|
||||
sed -i -e 's/__N__/mail-sqlite/g' /usr/local/bin/configure.sh && \
|
||||
sed -i -e 's/__B__/stalwart-mail/g' /usr/local/bin/entrypoint.sh
|
||||
|
||||
RUN chmod a+rx /usr/local/bin/*.sh
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ while [ ! -f /opt/stalwart-mail/etc/config.toml ]; do
|
|||
done
|
||||
|
||||
# If the configuration file exists, start the server.
|
||||
exec /usr/local/bin/stalwart-mail --config /opt/stalwart-mail/etc/config.toml
|
||||
exec /usr/local/bin/__B__ --config /opt/stalwart-mail/etc/config.toml
|
||||
|
|
Loading…
Reference in a new issue