Is there a way to run a jar at startup on CentOS 6.5 but only after MySQL is running?
closed as unclear what you're asking by Anthon, Stephen Kitt, X Tian, Jenny D, cuonglm Jun 18 '15 at 12:55
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
The quick and dirty way is to add a command that starts your application at the bottom of the file
/etc/rc.local. This file is executed last of the
rc files during the startup process, and normally the MySQL server should be running by then.