hello all. very exp with computers/netowrking, but relatively new to linux.
I am trying to gain a firm understanding as to how services or daemons are loaded at system startup. I have googled this topic extensively, and while I can find lots of explanations about each of the specific mechanisms discussed below, I have yet to find a succinct overview of the topic "startup services".
a few questions:
1.first off, I understand that you can either start a service (lets use samba as an example):
- as a daemon
- from init.d
- from xinit.d
can anyone write up a brief explanation of the three options, what the benefits/disatvantages of each are, and how each works. Also, using samba as an example, how would I set samba to start at boot using each option?
2. In my research I seem to keep reading that you can run init.d, or xinit.d, but not both conncurrently. Can someone explain why not? I know xinit.d is newer... why would someone prefer or opt for init.d?
Sidenote: I am using multiple distros right now in an effort to learn as much as possible, and not make my knowledge distro specific.
3. Both fedora and redhat have a program called "service configuration"
what exactly is this applet/program editing? if I wanted to make these changes the old fashioned way, how would I go about it?
Any help or information would be greatly appreciated - Im really trying hard to grasp this concept.