Configure Bonita Portal to start automatically when server reboots on Ubuntu/Linux


I'm trying to configure the server which is Ubuntu/Linux s.o to start automatically Bonita Portal every time the server reboots. I've tried with crontab -e command, along with the rc.local that I've found on the Internet, but none of them worked.

Can you help me please how to do it correctly?