Skip to content
Snippets Groups Projects

logrotate - vhosts

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Kevin Gautreau
    Edited
    vhosts 147 B
    #etc/logrodate.d/vhosts
    /vhosts/*/logs/*.log {
    	daily
    	rotate 7
    	dateext
    	compress
    	delaycompress
    	missingok
    	ifempty
    	create 744 kgaut www-data
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment