add work directory in /opt/xxx/app for init.d script