we have installed some tool on RedHat linux 8.5 which comes with a README file that explains steps we should do, in order to enable automatic startup:
- Copy the 'accurev' script to the /etc/rc.d/init.d/
cp /opt/accurev/extras/unix/accurev /etc/rc.d/init.d/
make links as follows
ln -s /etc/rc.d/init.d/accurev /etc/rc.d/rc0.d/K35accurev
ln -s /etc/rc.d/init.d/accurev /etc/rc.d/rc1.d/K35accurev
ln -s /etc/rc.d/init.d/accurev /etc/rc.d/rc2.d/S77accurev
ln -s /etc/rc.d/init.d/accurev /etc/rc.d/rc3.d/S77accurev
ln -s /etc/rc.d/init.d/accurev /etc/rc.d/rc5.d/S77accurev
ln -s /etc/rc.d/init.d/accurev /etc/rc.d/rc6.d/K35accurev
README file does not contain any further instructions.
Since this is a production server I cannot test this properly, unfortunately.
Will this be enough to have the script started upon the reboot?
I was searching the similar topics like How can I make a script in /etc/init.d start at boot? and they mention the
chkconfig tool which this README instruction does not mention, so I just wanted to be sure if I covered all the steps.
I couldn't find any instruction related to
/etc/rc.d without mentioned
Thanks a lot!