Edit the service:
sudo systemctl edit httpd.service
[Service] Restart=always RestartSec=10
sudo systemctl daemon-reload