Update onedrive.logrotate (#463)

* Update line indentation
* Add comment re minimum version of logrotate to support 'su' directive
This commit is contained in:
abraunegg 2019-04-11 10:43:47 +10:00 committed by GitHub
parent df39646120
commit e5a9747d7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,12 @@
# Any OneDrive Client logs configured for here
/var/log/onedrive/*log {
# What user / group should logrotate use?
su root users
# rotate log files weekly
# What user / group should logrotate use?
# Logrotate 3.8.9 or greater required otherwise:
# "unknown option 'su' -- ignoring line" is generated
su root users
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
@ -21,4 +23,4 @@
# missing files OK
missingok
}
}