Log rotation for services
I forgot that services have their own log files and redirect output to them. I think I will make a new helper script and include that in the server and runner so that it is available on both sides. This script will contain the rotateLogFile
functions so that they can be called consistently from both the server and services. Then I just need to reimplement the same schedule as the server to execute the log rotation.