I need to automatically restart my apache service on the crontab otherwise the service is regularly taken down 😔
It's used for Pleroma, Pixelfed and Peertube but there is one account only in each instance.

@fedilab Can you use something like monit to monitor if httpd is responding, and automatically restarting it?
nginx?

@fireglow
Currently my cron command works but that's ugly :(

@fedilab @fireglow A maybe a bit easier way would be setting up to restart Apache when it crashes. But as Apache should never crash without a reason, I would really check the errorlog or syslog

Inscrivez-vous pour prendre part à la conversation
Framapiaf

Le réseau social de l'avenir : Pas d'annonces, pas de surveillance institutionnelle, conception éthique et décentralisation ! Possédez vos données avec Mastodon !