Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2007
Why do server daemons use startup scripts?
Also, whats a convenient way of finding out where the actual binary for a server is instead of just the startup script location?
To give the various init systems (sysVinit, upstart, systemd to name a few):
- a unified way of starting/stopping daemons. The parameters to a init script are always the same
- a unified way of reading startup configs (user/group, parameters)
- a chance to start them according to the dependency hints (the comments on top of the scripts) and possibly in parallel
For finding the binary: reading the init script is a possibilty, another is to list the content of the package
rpm -qivl <PACKAGE> or dpkg -L <PACKAGE>You must always face the curtain with a bow.
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
You can find the location of a binary with the "whereis <name>" command.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!