/var/log/xrdp.log { # create 644 root root daily # compress # rotate 7 missingok # postrotate # /bin/kill -HUP `cat /var/run/xrdp.pid 2>/dev/null` 2> /dev/null || true # endscript }