Date: Sat, 14 Aug 1999 17:55:00 +0200 From: Mark Murray <mark@grondar.za> To: "Brian F. Feldman" <green@FreeBSD.org> Cc: Chris Piazza <cpiazza@home.net>, "Vanilla I. Shu" <vanilla@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/security/xinetd Makefile ports/security/xinetd/files md5 Message-ID: <199908141555.RAA23733@gratis.grondar.za>
next in thread | raw e-mail | index | archive | help
> So we're expected to do something like this? > p=$(</var/run/foo.pid); kill $p; rm -f $p More like: p=$(</var/run/foo.pid); kill $p And the "watcher" does: p=$(</var/run/foo.pid); kill -0 $p || restart_p or p=$(</var/run/foo.pid); kill -0 $p && rm /var/run/foo.pid A reboot chould clean out /var/run as well. M > > > > > M > > -- > > Mark Murray > > Join the anti-SPAM movement: http://www.cauce.org > > > > > > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ > green@FreeBSD.org _ __ ___ | _ ) __| \ > FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | > http://www.FreeBSD.org/ _ |___/___/___/ > > -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908141555.RAA23733>
