#! /usr/bin/env perl

use strict;
use warnings;

# rsbackup server creates a log file which needs to be rotated

&makeFile( '/usr/local/etc/newsyslog.conf.d/rsbackup_server.conf', 
<<'ENDCONF'
# configuration to tell newsyslog to rote the backupserver.log file
# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
# rotate backupserverslog  weekly on sunday at 23:00
/var/log/backupservers.log root:wheel   644    4     *  $W0D23 JN
ENDCONF
)