mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
Add version variable (#1976)
This commit is contained in:
parent
c5049c60da
commit
225e21edb7
2 changed files with 12 additions and 3 deletions
|
@ -249,13 +249,16 @@ function _defunc
|
|||
# shellcheck source=./startup/daemons-stack.sh
|
||||
. /usr/local/bin/daemons-stack.sh
|
||||
|
||||
# source DMS_VERSION variable
|
||||
. /root/.bashrc
|
||||
|
||||
# ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||
# ? << Sourcing all stacks
|
||||
# ––
|
||||
# ? >> Executing all stacks
|
||||
# ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||
|
||||
_notify 'inf' 'Welcome to docker-mailserver'
|
||||
_notify 'tasklog' "Welcome to docker-mailserver ${DMS_VERSION}"
|
||||
_notify 'inf' 'ENVIRONMENT'
|
||||
[[ ${DMS_DEBUG} -eq 1 ]] && printenv
|
||||
|
||||
|
@ -269,6 +272,6 @@ start_daemons
|
|||
_notify 'tasklog' "${HOSTNAME} is up and running"
|
||||
|
||||
touch /var/log/mail/mail.log
|
||||
tail -fn 0 /var/log/mail/mail.log
|
||||
tail -Fn 0 /var/log/mail/mail.log
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue