1. write a start script and put the following two comments into your script:
# chkconfig: 2345 90 10
# description: start Galaxy service and listening on port 8080, to visit please go http://localhost:8080
put your scripts here, which you wish to start when system boots
Where the chkconfig line is the most important, it lists
a. 2345 - runlevels the service will be started (by default),
b. 90 - when the service is started when entering a runlevel (relative to others, look into /etc/rc3.d for example),
c. 10 - when the service is stopped (relative to others, see /etc/rc0.d for example)
2. put your script into /etc/init.d, make it executable (usually chmod'ed to 755)
3. As root run "chkconfig --add your_service
Satrt Customer Service when CentOS starts
Labels:
Galaxy
Subscribe to:
Post Comments (Atom)
Datatable static image not found on the server
When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...
-
Step 1. Install Oracle XE 11g 1. Download Oracle XE (oracle-xe-11.2.0-1.0.x86_64.rpm.zip) from Oracle official website. You need an accoun...
-
I used the following method to hide the extra long column contents when loading the page. The contents will then display when mouse hover th...
-
When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...
No comments:
Post a Comment