How do I start OpManager at system boot in Ubuntu?

How do I start OpManager at system boot in Ubuntu?

Hello,

I tried to have OpManager start at system boot by adding /opt/ManageEngine/OpManager/bin/StartOpManagerServer.sh to /etc/rc.local, but when it tries to run it errors out saying:

/opt/ManageEngine/OpManager/bin/StartOpManagerServer.sh: 14: /opt/ManageEngine/OpManager/bin/StartOpManagerServer.sh: ./run.sh: not found
/opt/ManageEngine/OpManager/bin/StartOpManagerServer.sh: 16: /opt/ManageEngine/OpManager/bin/StartOpManagerServer.sh: Syntax error: "done" unexpected

so it looks like it can't run the command since it is not in the same directory.  Do you guys have any suggestions for me?

Thanks!
Justin

                New to ADSelfService Plus?