> From: "J�ran Kvalvaag" <[EMAIL PROTECTED]>
>> IMHO this often does not work. "service" ?? "chkconfig" ??, this is rather
>> distrospecific commands. I have never worked on systems using this
> commands.
>> I would use something like:
>> kill -HUP `ps aux | grep spamd | grep -v grep | awk '{ print $2 }'`
>> This makes most processes reread their configuration, and should be less
>> distrospecific.
>
> That could be. However, I have found that kill -HUP is also deadly if
> the rc.d technology is in place and in use. The daemons get lost from
> their proper controllers and nastiness results.That depends on what way the initscripts are handled, System V vs BSD. I.e. Slackware Linux has BSD initscripts. It uses rc.d, still kill -HUP works fine. > I guess that underscores that you MUST know your release and how it works > lest you get your system "all balled up." I strongly agree with you. I would not dare to do much on a Linux- UNIX-box if I didn't know how to start/stop/restart processes. Thats for sure! -- JK
