In addition to setting up the init scripts (either using chkconfig
or by hand hacking the /etc/init.d
hierarchy) and using cron (8)
, some simple services can be handled from /etc/inittab
.
See for instance Using inittab to ensure sshd (and other important items) are still running — any drawbacks?Using inittab to ensure sshd (and other important items) are still running — any drawbacks? on Server Fault.