Rotate logs - how to tell traefik close and open new log

The documentation talks about issuing a USR1 signal to traefik to get it to close and open log files. I am not using containers, just files, on bare metal. I am not using rsyslog etc. I have my own custom log parser.

I have traefik start/stop as a systemctl start/stop traefik.service in systemd. In nginx I used to just reload the service that would create a new log file. I haven't found a way to reload the static config file once traefik is running. I don't want to interrupt traefik with a start/stop just to create a new log file.


pkill -USR1 traefik

This is how you can issue the command from the cli to have new log file created.