Skip to content

Instantly share code, notes, and snippets.

@teddevaal
Last active March 22, 2017 09:05
Show Gist options
  • Save teddevaal/8575858 to your computer and use it in GitHub Desktop.
Save teddevaal/8575858 to your computer and use it in GitHub Desktop.
Rotatelogs
Okay, spend way too much time on this one.
But however, use the following command to install rotatelogs
sudo apt-get install apache2-utils
By default the binary file is only accessible with superuser priviliges. Move the file to /usr/sbin/.
sudo mv /usr/bin/rotatelogs /usr/sbin/
Now you can gracefully start apache2 with custom logs ;)
@smknstd
Copy link

smknstd commented Jan 14, 2015

thank you ! it was helpful to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment