Restart/Force Update Logrotate script

In case you need your logrotate script to run immediately, use this snippet.

34

Votes

logrotate -f -v /etc/logrotate.d/nginx

Vote Here

You must earn at least 1 vote on your snippets to be allowed to vote

Terms Of Use

Privacy Policy

Featured snippets are MIT license

Gears & Masters

Advertise

DevOpsnipp.com © 2020

medium.png