Skip to content

Instantly share code, notes, and snippets.

@toshihirock
Last active August 29, 2015 14:17
Show Gist options
  • Save toshihirock/1f01c3741f16508ee5d3 to your computer and use it in GitHub Desktop.
Save toshihirock/1f01c3741f16508ee5d3 to your computer and use it in GitHub Desktop.
# dry run
logrotate -d /etc/logrotate.conf
# specific conf
logrotate -d /etc/logrotate.d/httpd
# force execute(Normally logrotate confirms /var/lib/logrotate.status)
logrotate -f /etc/logrotate.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment