mynode/rootfs/standard/usr/bin/mynode_logrotate.sh
2020-02-09 21:25:47 -06:00

13 lines
125 B
Bash
Executable File

#!/bin/bash
set -e
set -x
while true; do
logrotate /etc/logrotate.conf
sleep 10m
done
# We should not exit
exit 1