Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
logrotate: use "su" keyword only if available
Newer version of logrotate (>= 3.7 or 3.8, depending on the distribution) the "su" directive is required. Unfortunally, older version do not know about this keyword. With this patch configure detects, if "su" is a valid keyword in a logrotate configuration file. Fixes #537: usage of too-new "su" in logrotate file
- Loading branch information
1 parent
fa879c5
commit 223144c
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ | |
rotate 6 | ||
notifempty | ||
missingok | ||
su bareos bareos | ||
@logrotate_su@ | ||
} |