Fix syntax in service restarting