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?
migrated from stackoverflow.com Mar 19 '11 at 13:45
This question came from our site for professional and enthusiast programmers.