mynode/rootfs/standard/usr/bin/mynode_logrotate.sh

13 lines
125 B
Bash
Raw Normal View History

2020-02-10 03:25:47 +00:00
#!/bin/bash
set -e
set -x
while true; do
logrotate /etc/logrotate.conf
sleep 10m
done
# We should not exit
exit 1