Skip to content

Commit 5f996e6

Browse files
committed
chore: add example logrotate conf
1 parent 8d328fd commit 5f996e6

File tree

1 file changed

+13
-0
lines changed
  • conf/logrotate/etc/logrotate.d

1 file changed

+13
-0
lines changed

conf/logrotate/etc/logrotate.d/ghfs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/var/log/ghfs/*.log {
2+
weekly
3+
missingok
4+
rotate 10
5+
compress
6+
delaycompress
7+
notifempty
8+
create
9+
sharedscripts
10+
postrotate
11+
kill -SIGHUP $(pidof ghfs)
12+
endscript
13+
}

0 commit comments

Comments
 (0)