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