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 Do you have an error from Apache, either in /var/log/apache or using systemctl status apache2 after it is took down? (I’m assuming a Debian / Ubuntu server)
I will check that. But error from apache didn't give me details.
@fedilab Tried NGINX?
Yes, I think to do that.
Currently my cron command works but that's ugly :(
there should be something in error.log?
No :( I split errors log files depending of the subdomain. I will check deeper though.
apache normally never dies without error.log, except sig11 or like this in syslog. cron restart script is emergency backup, you must get apache to not die, which is abnormal.
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 !