Skip to content

Commit

Permalink
Fix exim logrotate setup
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Jul 25, 2020
1 parent 9e927f3 commit ec398e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ exim_setup() {
if cond_redirect chmod o-rwx "$eximConfig"; then echo "OK"; else echo "FAILED (permissions)"; return 1; fi
for s in base paniclog; do
if [[ -f "$logrotateFile-$s" ]]; then
sed -i 's#Create 640 Debian-exim adm#Create 640 Debian-exim adm\n\tsu Debian-exim adm#g' "$logrotateFile-s$s"
sed -i 's#Create 640 Debian-exim adm#Create 640 Debian-exim adm\n\tsu Debian-exim adm#g' "$logrotateFile-$s"
fi
done

Expand Down

0 comments on commit ec398e0

Please sign in to comment.