Category: devops

posts related to devops

Consul Service Discovery and leader election

Elect a leader with Consul for your service So I started testing out a service discovery platform called Consul by the company Hashicorp. The system uses the raft consensus protocol, and you may run...

fixing php5-fpm logrotate on ubuntu 14.04

I was getting an error about the logrotate invoke-rc.d: initscript php5-fpm, action “reopen-logs” failed. error: error running non-shared post rotate script for /var/log/php5-fpm.log of ‘/var/log/php5-fpm.log ‘ There are two issues, the invoke.d does not...