From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1143 Path: news.gmane.org!not-for-mail From: Adam Megacz Newsgroups: gmane.comp.sysutils.supervision.general Subject: "sv down foo" => kill -SIGQUIT? Date: Fri, 02 Jun 2006 23:42:37 -0700 Organization: Myself Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149319215 13562 80.91.229.2 (3 Jun 2006 07:20:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2006 07:20:15 +0000 (UTC) Original-X-From: supervision-return-1379-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jun 03 09:20:14 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FmQQc-0001nO-5x for gcsg-supervision@gmane.org; Sat, 03 Jun 2006 09:20:10 +0200 Original-Received: (qmail 23301 invoked by uid 76); 3 Jun 2006 07:20:30 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 23295 invoked from network); 3 Jun 2006 07:20:30 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-To: supervision@list.skarnet.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: megacz.com X-Home-Page: http://www.megacz.com/ User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:9oqNSOzxvQgtkIzrPVDVL4mEwPU= Original-Sender: news Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1143 Archived-At: I just discovered (or was pointed to) runit. It rocks. However, I have one service (OpenAFS's fileserver) that needs to be sent a SIGQUIT as the way of telling it to shut down gracefully. Sending a SIGTERM causes it to simply quit immediately, and the next time it starts up it has to do a sort of psuedo-fsck scan of its files, which can take around an hour in some cases. Is there any way to tell runit that this process wants to be sent a SIGQUIT rather than SIGTERM? I know about "sv quit foo", but I'm worried I'll accidentally type "sv down foo". Thanks, - a -- PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380