summaryrefslogtreecommitdiff
path: root/puppet/modules/obfsproxy/files/obfsproxy_logrotate
blob: e5679d0ce4ad3edc8b97ca47d4ef9dff71ed7b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/obfsproxy.log {
  daily
  missingok
  rotate 3
  compress
  delaycompress
  notifempty
  create 600 obfsproxy obfsproxy
  postrotate
    if [ -f /var/run/obfsproxy.pid ]; then
      /etc/init.d/obfsproxy restart > /dev/null
    fi
  endscript
}