mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-05 23:43:16 +02:00
Update onedrive.logrotate (#463)
* Update line indentation * Add comment re minimum version of logrotate to support 'su' directive
This commit is contained in:
parent
df39646120
commit
e5a9747d7b
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue