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 :(

Folgen

@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

Melde dich an, um an der Konversation teilzuhaben
Mastodon (lw1.at)

Mastodon ist ein soziales Netzwerk. Es basiert auf offenen Web-Protokollen und freier, quelloffener Software. Es ist dezentral (so wie E-Mail!).