Goline Logo

FAQ

News

  • New Partnership Between Goline and EaseUS: Technology and Innovation at Your Service. We are excited to announce our collaboration with EaseUS, a leading company in data management, file recovery, and disk cloning software. This collaboration allows us to provide our users with reliable and cutting-edge tools to manage and protect their devices efficiently. Exploring the Benefits of Our New Partnership with EaseUS This collaboration enhances our capability to deliver top-notch services to our community. With EaseUS, you can optimize storage space, recover lost files, and clone disks easily and securely. Whether you're a home user or an IT professional, you'll...
  • GOLINE SA partner with FileCloud November 25th, 2024
  • In the supply and logistics sectors, email communication is pivotal. However, organizations face threats like email fraud and phishing. GOLINE SA's clients struggled with configuring email authentication protocols manually. To address this challenge, GOLINE SA partners with PowerDMARC as an MSP Partner, collaborating to streamline implementation and management. PowerDMARC's cloud-based platform automated DMARC, SPF, and DKIM protocols for GOLINE SA's clients. This streamlined the transition to DMARC enforcement policies, bolstering domain protection without compromising email deliverability. The intuitive platform facilitated easy navigation and provided detailed reporting for proactive issue resolution. Strategic Collaboration: GOLINE SA Partners with PowerDMARC GOLINE SA's clients...

Comando logrotate su Linux

Paolo Caparrelli Linux 22 June 2022

#Rotazione log con il comando logrotate

Le configurazioni singole dei rotate log sono nella cartella /etc/logrotate.d
Bisogna creare i file specificando nella prima riga su quale log file dovrà operare.

Questo che segue è un esempio di script (file > /etc/logrotate.d/modsec)

/var/log/apache2/modsec_audit.log {
rotate 1
compress
missingok
notifempty
sharedscripts
postrotate
service apache2 restart
endscript
}

Il file di configurazione cron giornaliero è il seguente /etc/cron.daily/logrotate

rotate 1 > tells logrotate to keep ONLY 1 copy of the file. This means that today at 4 am logrotates deletes the file modsec_audit.log.1.gz
and creates a new one starting from modsec_audit.log.

compress > means that we do want a compressed archive of the file

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x