Bug 111749 - sysutils/daemontools svscan output to multilog would be a nice option
Summary: sysutils/daemontools svscan output to multilog would be a nice option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
Depends on:
Reported: 2007-04-17 01:10 UTC by Andrew Hammond
Modified: 2007-10-30 18:20 UTC (History)
0 users

See Also:

file.diff (1.89 KB, patch)
2007-04-17 01:10 UTC, Andrew Hammond
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Hammond 2007-04-17 01:10:00 UTC
Per http://www.thedjbway.org/svscanboot.html it is sometimes a nice idea to have the output of svscan piped into multilog instead of readproctitle.  The attached shell script alters rc.d/svscan.sh to do this.

I'm sure that having it as a configure option would be better, but I don't know how to do that.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-04-17 01:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2007-04-17 08:42:32 UTC
State Changed
From-To: open->analyzed

Looking into it, thanks for the idea!
Comment 3 Peter Pentchev freebsd_committer freebsd_triage 2007-10-30 11:01:16 UTC
State Changed
From-To: analyzed->closed

I just committed a modified version of your patch. 
Thanks for the idea and your work on the patch!
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-10-30 18:19:10 UTC
roam        2007-10-30 10:49:16 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/daemontools Makefile 
    sysutils/daemontools/files svscan.sh.sample 
  Added files:
    sysutils/daemontools/files rts-skip.patch 
  Add a knob to disable the run-time testsuite, e.g. when building with
  a NFS-mounted work directory (prompted by PR 115100).
  Add support for logging through multilog instead of readproctitle for
  the main svscan process and document the startup script variables
  (loosely based on PR 111749).
  PR:             111749, 115100
  Submitted by:   Andrew Hammond<andrew.george.hammond@gmail.com>,
                  Charles Sprickman <spork@bway.net>
  Revision  Changes    Path
  1.26      +6 -1      ports/sysutils/daemontools/Makefile
  1.1       +11 -0     ports/sysutils/daemontools/files/rts-skip.patch (new)
  1.14      +34 -6     ports/sysutils/daemontools/files/svscan.sh.sample
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"