mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-06 22:44:59 +08:00
We now include logrotate in the the basic image. This does -- up to a point -- reduce the "separation of concerns", but it simplifies image management considerably and removes an unneccessary dependency on a third-party container.
7 lines
No EOL
140 B
Bash
7 lines
No EOL
140 B
Bash
#!/bin/sh
|
|
|
|
if [ -f /usr/sbin/cron ]; then # Ubuntu
|
|
exec /usr/sbin/cron -f
|
|
else # Alpine / Busybox cron
|
|
exec /usr/sbin/crond -f -S
|
|
fi |