evince linux code example
Example 1: force logrotate linux
$ logrotate -vf CONFIG_FILE
Example 2: ubuntu install gerrit
export GERRIT_SITE=~/gerrit_testsite
java -jar gerrit*.war init --batch --dev -d $GERRIT_SITE
$ logrotate -vf CONFIG_FILE
export GERRIT_SITE=~/gerrit_testsite
java -jar gerrit*.war init --batch --dev -d $GERRIT_SITE