service.sh: change working directory before killing