Running Java applications as daemon on Linux
Recently I found the need to create an init.d script for a java app and since I had a hard time finding an example, I came up with this vim /usr/local/bin/myAPP-stop.sh vim /usr/local/bin/myAPP-start.sh vim /etc/init.d/myAPP chmod +x /usr/local/bin/myAPP-start.sh /usr/local/bin/myAPP-stop.sh /etc/init.d/myAPP update-rc.d myAPP defaults This script work perfectly under Ubuntu 12.04, but it should apply to ot ...
Read more ›
