[arch-general] How is process loading configured at boot? rc.sysinit & rc.local?
Listmates, How is process loading handled at boot in Arch Linux? I found: [19:32 archangel:/etc] # ls -1 rc* rc.conf rc.local rc.local.shutdown rc.multi rc.shutdown rc.single rc.sysinit rc.d: <snip> But before I started hacking things I thought I would ask where I should put things generally (rc.local?) and then where to put the services that might need to be started earlier than rc.local (rc.sysinit?) I thought I would ask before I make a royal fool out of myself. (I like to minimize those times) Also, I have no problems setting the stuff up by hand, but I also wanted to check if there was any type of automated service manager like chkconfig, just in case. Thanks. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Most people start their daemons in the rc.conf file. See http://wiki.archlinux.org/index.php/Rc.conf DR David C. Rankin wrote:
Listmates,
How is process loading handled at boot in Arch Linux? I found:
[19:32 archangel:/etc] # ls -1 rc* rc.conf rc.local rc.local.shutdown rc.multi rc.shutdown rc.single rc.sysinit
rc.d: <snip>
But before I started hacking things I thought I would ask where I should put things generally (rc.local?) and then where to put the services that might need to be started earlier than rc.local (rc.sysinit?) I thought I would ask before I make a royal fool out of myself. (I like to minimize those times)
Also, I have no problems setting the stuff up by hand, but I also wanted to check if there was any type of automated service manager like chkconfig, just in case. Thanks.
David Rosenstrauch wrote:
Most people start their daemons in the rc.conf file.
See http://wiki.archlinux.org/index.php/Rc.conf
DR
(smacks-self for forgetting what I read during install) Thanks again DR, I should have the basics sorted by tomorrow... let us hope. I am certainly enjoying what I'm finding in Arch, not to mention the satisfying feeling of not having some corporate bureaucracy using my disto as a beta farm ;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
The DAEMONS is actually surprisingly powerful. Some tips: - /etc/rc.d is where the scripts for DAEMONS are. Any file there can be used in the DAEMONS array. These files aren't in the typical linux init style, but easy. - You can hack some stuff to get multiple DAEMONS arrays if you want "runlevels" - As per comments in the rc.conf, @ in front of a daemon will start it in the background at boot (so you can start stuff in parallel) # I missed this note :/ Sorry if you knew all this already, cheers. -AT On Tue, Apr 21, 2009 at 9:14 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
David Rosenstrauch wrote:
Most people start their daemons in the rc.conf file.
See http://wiki.archlinux.org/index.php/Rc.conf
DR
(smacks-self for forgetting what I read during install)
Thanks again DR, I should have the basics sorted by tomorrow... let us hope. I am certainly enjoying what I'm finding in Arch, not to mention the satisfying feeling of not having some corporate bureaucracy using my disto as a beta farm ;-)
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
participants (3)
-
Andrei Thorp
-
David C. Rankin
-
David Rosenstrauch