1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-03-30 23:37:05 +00:00

Setting shell options in a single line.

This commit is contained in:
Tomasz Stanczak 2025-02-12 08:01:58 +01:00
parent c214e98535
commit e796b316bf

View File

@ -2,8 +2,7 @@
# Cleanup SSL certificates which expired more than 7 days ago from $STORAGE_ROOT/ssl and move them to $STORAGE_ROOT/ssl.expired
source /etc/mailinabox.conf
shopt -s extglob
shopt -s nullglob
shopt -s extglob nullglob
retain_after="$(date --date="7 days ago" +%Y%m%d)"