i wrote a little java server which i'm running on my CentOS 5 VPS server. currently i just ssh onto the server and start the jar through commandline.How an i turn this jar into a system service and set it such that it starts automatically when the system starts and also that it restarts automatically if it crashes?
how to make system service out of .jar file? (linux)
java;centos