From owner-freebsd-isp@FreeBSD.ORG Sat Aug 21 13:58:07 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E045616A4CE for ; Sat, 21 Aug 2004 13:58:07 +0000 (GMT) Received: from a2.scoop.co.nz (aurora.scoop.co.nz [203.96.152.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E3143D1D for ; Sat, 21 Aug 2004 13:58:06 +0000 (GMT) (envelope-from andrew@scoop.co.nz) Received: from localhost (localhost [127.0.0.1]) by a2.scoop.co.nz (8.12.11/8.12.11) with ESMTP id i7LDw5Gl060512 for ; Sun, 22 Aug 2004 01:58:05 +1200 (NZST) (envelope-from andrew@scoop.co.nz) Date: Sun, 22 Aug 2004 01:58:05 +1200 (NZST) From: Andrew McNaughton To: FreeBSD-ISP List Message-ID: <20040822011355.V1573@a2.scoop.co.nz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on a2.scoop.co.nz X-Virus-Status: Clean Subject: reboot without forking X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 13:58:08 -0000 Is there some sort of server I can run so that I can reboot a server in a situation where there are not available resources for forking? Best option I've got at present is to leave a ssh session running with a root shell. Seems I can get a reboot using `exec reboot` even when I can't fork. Andrew -- No added Sugar. Not tested on animals. May contain traces of Nuts. If irritation occurs, discontinue use. ------------------------------------------------------------------- Andrew McNaughton Living in a shack in Tasmania andrew@scoop.co.nz Between the bush and the sea Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc http://www.scoop.co.nz/