Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
fix(): prevent syslog logrotate warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hardware committed Aug 18, 2019
1 parent a087783 commit af46850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/usr/local/bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ fi
# ---------------------------------------------------------------------------------------------

# Remove invoke-rc.d warning
sed -i 's|invoke-rc.d rsyslog rotate |invoke-rc.d --quiet rsyslog rotate \&|g' /etc/logrotate.d/rsyslog
sed -i 's|rsyslog-rotate|rsyslog-rotate \&>/dev/null|g' /etc/logrotate.d/rsyslog

# Folders and permissions
mkdir -p /var/run/fetchmail
Expand Down

0 comments on commit af46850

Please sign in to comment.