remove restart/delete/reload by path or script name