I followed the directions for adding Mango to a CentOS 7 systemd service startup. Unfortunately when I use "systemctl start mango" it fails with a "Job for mango.service failed because a timeout was exceeded. See "systemctl status mango.service" and "journalctl -xe" for details."
I added a "TimeoutSec=250" to the Service section of the mango.service file. But it still times out. I think this is because the startup script is not exiting properly so systemd keeps waiting for the service to start. If I run the "ma.sh start" script from a command line, it doesn't return to a command prompt until I hit "return".
The last line in the ma.log file is: "INFO 2018-01-01T10:17:22,046 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:362) - Mapped URL path [/sqlConsole.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]"
Any ideas?
Re: How to automatically start Mango in a systemd based Linux OS