From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1727 Path: news.gmane.org!not-for-mail From: "Mike" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: configurable path to ./supervise/ Date: Fri, 18 Apr 2008 14:32:20 -0600 (MDT) Message-ID: <43362.24.8.235.144.1208550740.squirrel@www.xagasoft.com> Reply-To: eichlan@xagasoft.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1208590413 16974 80.91.229.12 (19 Apr 2008 07:33:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 07:33:33 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1963-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Apr 19 09:33:55 2008 connect(): Connection refused Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1JmxU4-0001yv-P3 for gcsg-supervision@gmane.org; Fri, 18 Apr 2008 22:47:00 +0200 Original-Received: (qmail 2657 invoked by uid 76); 18 Apr 2008 20:46:41 -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 2460 invoked from network); 18 Apr 2008 20:45:00 -0000 User-Agent: SquirrelMail/1.4.6 X-Priority: 3 (Normal) Importance: Normal Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1727 Archived-At: > > > On Fri, 18 Apr 2008, Gerrit Pape wrote: > >> On Fri, Apr 18, 2008 at 03:27:54PM -0400, Charlie Brady wrote: >>> I think you need a script to prepare the directories and symlinks for >>> you. I don't think we want runsv to be any more complicated. >> >> The symlinks can be dangling links pointing into an existing directory. > > The symlinks aren't dangling are they, if they point to an existing > directory? Or did you really mean "into an existing directory" - i.e. the > target directory of the symlink does not exist, but its containing > directory does? > I just tested it, "into an existing directory" is right. I created this service: test supervise -> /var/run/sv-test run log supervise -> /var/run/sv-test-log run main -> /var/log/sv-test I did not create the directories /var/run/sv-test or /var/run/sv-test-log, runit did that for me. I did create /var/log/sv-test, and set permissions on it. This works just fine, and is actually pretty cool. Also, I tried this same thing with making test/log/supervise point to /var/run/sv-test/log, it also worked. makes it a little neater... -- --Mike