Date: 09 May 1997 01:10:53 +0200 From: Wolfram Schneider <wosch@apfel.de> To: Anthony Barlow <tony@mail.warp.co.uk> Cc: freebsd-questions@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: Script to check if porgram is running Message-ID: <p1iyb9psgoy.fsf@campa.panke.de> In-Reply-To: Anthony Barlow's message of Thu, 8 May 1997 16:50:38 %2B0100 (BST) References: <199705081550.QAA09361@mail.warp.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Anthony Barlow <tony@mail.warp.co.uk> writes: > Does anyone have a script to check if radiusd is running that can be run > from the cron? Signal zero is your friend. E.g.: if killall -0 radiusd; then : else radiusd & fi `killall -s radiusd >/dev/null || radiusd &' works too. -- Wolfram Schneider <wosch@apfel.de> http://www.apfel.de/~wosch/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p1iyb9psgoy.fsf>