From this changing How to change Linux services startup/boot order? changing the values of the symbolic links it is evident that startup order is changed.
In debian derivatives we use
update-rc.d apache2 defaults 20 80
Do we have similar command in Centos/Redhat and ?
if so what it is ?
and what should be possible changes in init scripts header ?
Note: I should use init system (not any systemd or upstart)
Best Answer
An alternative will be to change the line starting with
# chkconfig:
in the service init script directly. This is explained in the chkconfig(8) man page.After changing the script, if you will need to run the
chkconfig
command (as root) with thereset
option for that service. With "reset", chkconfig will automatically create start/stop symlinks in the configured run levels with given priorities.