1
0
mirror of https://github.com/rancher/os.git synced 2025-07-06 19:38:37 +00:00
os/images/02-syslog/entrypoint.sh
Stephen Drake 8289d4e1bb Add logrotate and cron system services to support basic log rotation.
Signed-off-by: Stephen Drake <stephen@xenolith.net>
2017-07-07 13:49:17 +02:00

6 lines
103 B
Bash
Executable File

#!/bin/bash
cp /usr/share/logrotate/logrotate.d/* /etc/logrotate.d
exec /usr/bin/ros entrypoint "$@"