Remove unused variables
Use /bin/sh in the service script, not /bin/bash
Remove duplicated variables in deployment and service scripts