[102430] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Kill off process at exit

daemon@ATHENA.MIT.EDU (Jan Carlson)
Thu Dec 3 01:15:03 1998

Date: Thu, 03 Dec 1998 01:13:15 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Ronnie Thum wrote:

> I put this line in my .bash_login ---> RC5/rc5des -quiet &
> This starts up rc5des at login.
>
> Now I want rc5des to shutdown at logout. Can it be done ? How ?

$ killall rc5des
or
$ killall -9 rc5des
then
$ exit

But I think .bash_login is not the right place.
Don't you want to run it whenver the machine is up?
Then it would go into /etc/rc.d/rc.local.


--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post