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