Fix horizon's restart-apache handler.