Skip to content

Commit

Permalink
emonhub olddir
Browse files Browse the repository at this point in the history
  • Loading branch information
TrystanLea committed Jun 4, 2019
1 parent 60fae32 commit 28cab81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions defaults/etc/logrotate.d/emonhub
Expand Up @@ -3,4 +3,7 @@
copytruncate
su root root

This comment has been minimized.

Copy link
@borpin

borpin Jun 4, 2019

Contributor

Do you really need this line?

This comment has been minimized.

Copy link
@TrystanLea

TrystanLea Jun 5, 2019

Member

it seems so, emonhub's ownership is the emonhub user, but root seems to be required here to avoid permissions errors

compress

olddir /var/log.old/emonhub
createolddir 775 root emonhub
}

0 comments on commit 28cab81

Please sign in to comment.