Centos 6 startup script

view full story

http://stackoverflow.com – i need to put a startup script to my Centos6 server. I see that i need a script that contains start-stop cases. But i have a problem to make it and neither how to put this script to startup. Anyone can say me how can i add it? The script must run a simply command that run a jar file: java -jar FileName.jar Thank you all (HowTos)