The sfptpdctl logrotate command causes the sfptpd daemon to
close and reopen the log file, creating the file if it does not already exist.
Note: This action does not rename the log file.
The sfptpdctl logrotate command could be called from the
postrotate section of a standard Linux logrotate
configuration file. For example:
postrotate
<path>/sfptpdctl logrotate || true
endscript
An alternative action would be to move/rename the current log file before invoking the
sfptpdctl logrotate command.