summarylogtreecommitdiffstats
path: root/oragono-rotate
diff options
context:
space:
mode:
authorSean Enck2017-07-10 13:32:16 -0400
committerSean Enck2017-07-10 13:32:16 -0400
commitedb069f76241dcc59be5ab72688561cde9e3d57c (patch)
tree1bdc45c43ac5e346d93908a3555e521a76fb1d6f /oragono-rotate
parentf6c26bdd39827bf35ab8c4cdd70d4613c18220cc (diff)
downloadaur-edb069f76241dcc59be5ab72688561cde9e3d57c.tar.gz
copytruncate the logfile
Diffstat (limited to 'oragono-rotate')
-rw-r--r--oragono-rotate5
1 files changed, 1 insertions, 4 deletions
diff --git a/oragono-rotate b/oragono-rotate
index 1eaf69b8223f..abd97cbc67fb 100644
--- a/oragono-rotate
+++ b/oragono-rotate
@@ -1,11 +1,8 @@
/var/log/oragono.log {
- create
+ copytruncate
monthly
compress
missingok
notifempty
rotate 12
- postrotate
- /bin/systemctl restart oragono.service
- endscript
}