Services fail to start when sedue_home(/opt/sedue) is a symbolic link to other directory.
We should fix templates of init.d scripts to be able to detect process ids of serve-supervise processes in the environment.
Fix following files:
- mongodb.init.d.erb
- server.init.d.erb
grep $SERVDIR's real path(readlink -f $SERVDIR) instead of $SERVDIR.