improved service.erb, fixed bug in service stop function