Skip to content

Allow specifying multiple paths and postrotate commands for a logrotate entry #15

Open
@tazend

Description

@tazend

Proposed feature

It should be possible to specify a list for the path and postrotate variable in a logrotate entry, instead of just a single string.

Rationale

It is perfectly fine in logrotate to give multiple postrotate commands and paths to files that should be rotated, especially when one wants to simply apply the same ruleset on multiple paths.

Since it is currently only possible to specify a single path in a logrotate entry, you would need to duplicate the same entry over and over where just the logfile changes to achieve this same behaviour, which seems unnecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions