On Saturday June 25 2005 23:30, -ray spake:
> > I prefer the BSD-style init (in the Linux world, Slackware uses this)
> > over SysV. YMMV.
>
> Mind if i ask why? When I need to restart sendmail or named, i have to go
> mucking through /etc/rc* files to find the command line options to start
> it with. It's easier to /etc/init.d/sendmail restart.
The following 2x4 works on both platforms:
ps auxw | grep sendmail
kill -HUP <pid>
> Or changing IP address? Have to change the config file and run ifconfig
manually. Why not just /etc/init.d/network{ing} restart. Is there any
easier way to do that stuff on BSD (i haven't found one)?
Maybe it's because I never quite got over my total confusion in init.d land.
BSD init just feels cleaner, plus I actually understand it, for the most
part.
--
Joey Kelly
< Minister of the Gospel | Linux Consultant >
http://joeykelly.net
"I may have invented it, but Bill made it famous."
--- David Bradley, the IBM employee that invented CTRL-ALT-DEL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/general_brlug.net/attachments/20050625/ef922583/attachment.bin
From [EMAIL PROTECTED] Sun Jun 26 00:36:36 2005
From: [EMAIL PROTECTED] (-ray)
Date: Sun Jun 26 00:36:33 2005
Subject: [brlug-general] BSD
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
> ps auxw | grep sendmail
> kill -HUP <pid>
True but on a system with several hundred sendmail processes running,
that's a major pain.
> Maybe it's because I never quite got over my total confusion in init.d
> land. BSD init just feels cleaner, plus I actually understand it, for
> the most part.
Ahhh... well SysV isn't that bad. It's just symlinks that point to the
init.d scripts. The symlink determines whether the service is
started/stopped when entering/leaving a certain runlevel. Managing the
symlinks manually (Solaris?) is a major pain, but tools like chkconfig
(Redhat) and update-rc.d (Debian) do it all for you. BSD is cleaner and
simpler, but the extra managability you get with SysV is worth it, to me.
ray