make tempest work on redhat

this commit adds a conditional statement to
ensure the nova api service is restarted correctly
on redhat.