This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
forked from zeroc0d3/ruby-deploy-gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Logrotate
ZeroC0D3 Team edited this page Jan 19, 2018
·
2 revisions
Log rotation for development/staging and production
- Configuration logrotate for development/staging
#/etc/logrotate.conf
/home/deploy/zeroc0d3lab.dev/shared/log/*.log {
size 1024k
daily
missingok
rotate 7
compress
delaycompress
notifempty
copytruncate
maxage 60
}
- Configuration logrotate for production
#/etc/logrotate.conf
/home/deploy/zeroc0d3lab/shared/log/*.log {
size 1024k
daily
missingok
rotate 7
compress
delaycompress
notifempty
copytruncate
maxage 60
}
sudo /usr/sbin/logrotate /etc/logrotate.conf
Research & Development (RnD) - ZeroC0D3 Team
- Email: [email protected]
- Repository: https://github.com/zeroc0d3lab
- Install-Packages
- Setup-Server
- Setup-Account
- Configuration-Bash
- Configuration-Zsh
- Install-Bash-Theme
- Install-Zsh-Theme
- Install-Docker
- Install-Memcached
- Install-MongoDB
- Install-MySQL
- Install-NodeJS
- Install-PostgreSQL
- Install-Redis
- Install-Ruby
- Install-SQLite3
- Configuration-App
- Configuration-GCM
- Configuration-Hosts
- Configuration-Memcached
- Configuration-MongoDB
- Configuration-PostgreSQL
- Configuration-Puma
- Configuration-Swap
- Configuration-Unicorn
- Nginx-Puma
- Nginx-Unicorn
- Logrotate
- Deployment-Dashboard
- Deployment-Configuration
- Deployment-Process
- Deployment-Folder-Structure
- Deploy-Preinstall