Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 20:05:09 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Patrick Thomas <root@utility.clubscholarship.com>
Cc:        "Marc G. Fournier" <scrappy@hub.org>, freebsd-hackers@freebsd.org
Subject:   Re: reboot your own jail ?
Message-ID:  <20020516200509.K349@straylight.oblivion.bg>
In-Reply-To: <20020516095228.R79837-100000@utility.clubscholarship.com>; from root@utility.clubscholarship.com on Thu, May 16, 2002 at 09:52:54AM -0700
References:  <20020516132640.N6260-100000@mail1.hub.org> <20020516095228.R79837-100000@utility.clubscholarship.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--wRokNccIwvMzawGl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 16, 2002 at 09:52:54AM -0700, Patrick Thomas wrote:
> On Thu, 16 May 2002, Marc G. Fournier wrote:
>=20
> >
> > web interface that is password protected that does:
> >
> > 	ssh root@<jail> kill -TERM -1
> > 	<restart jail>
>=20
> why -TERM ?  the jail man page recommends -KILL ... just curious...

Uhm.. to allow processes to shut themselves down gracefully?
IMHO, the best choice would be what init(8) does: send a TERM,
wait a little, send a KILL.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I've heard that this sentence is a rumor.

--wRokNccIwvMzawGl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE84+bF7Ri2jRYZRVMRAl/ZAJ99gOgzhB385nepAXuoOLREX5BDagCcD/2y
IsOAaJhLBNBYSeTmXfekqCA=
=XC/d
-----END PGP SIGNATURE-----

--wRokNccIwvMzawGl--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020516200509.K349>