mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 01:15:00 +02:00
Improve VIRUSMAILS_DELETE_DELAY usage (#2281)
This commit is contained in:
parent
c7dec1e330
commit
b117cd1423
4 changed files with 5 additions and 13 deletions
|
@ -1720,17 +1720,6 @@ function _setup_user_patches
|
|||
fi
|
||||
}
|
||||
|
||||
function _setup_environment
|
||||
{
|
||||
_notify 'task' 'Setting up /etc/environment'
|
||||
|
||||
if ! grep -q "# Docker Mail Server" /etc/environment
|
||||
then
|
||||
echo "# Docker Mail Server" >>/etc/environment
|
||||
echo "VIRUSMAILS_DELETE_DELAY=${VIRUSMAILS_DELETE_DELAY}" >>/etc/environment
|
||||
fi
|
||||
}
|
||||
|
||||
function _setup_fail2ban
|
||||
{
|
||||
_notify 'task' 'Setting up fail2ban'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue