Hi,
I have a program that needs to start whenever the server is rebooted along with other programs. The program was compiled manually and I do not see the program when I type "setup" at command prompt and go to "system services". Any idea?
Thanks
ro
The manual way to do it (and the way I'd do it in Debian) is to put links to the program in /etc/rcn.d/ , where n is each runlevel number in which you want the program to run. For example, you might put a link called S99myprog in /etc/rc2.d, /etc/rc3.d, /etc/rc4.d, and /etc/rc5.d.
However, runlevels vary according to the distro; you would need to check what your distro uses. You might also be better off following your distro's standard procedures for installing daemons.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.