add parameter to disable service restart