Commit graph

28 commits

Author SHA1 Message Date
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Edwin Groothuis
32487a10ad SHA256ify
Approved by: krion@
2006-01-24 01:06:45 +00:00
Peter Pentchev
0f300e2a91 Skip directories with names starting with a dot. [1]
Wihle I'm here, add a STARTUP_SCRIPT knob to specify a different name for
the etc/rc.d/svscan.sh script, e.g. allowing a name like 000.svscan.sh.

PR:		81677 [1]
Submitted by:	Renato Botelho <freebsd@galle.com.br> [1]
2005-06-07 11:05:09 +00:00
Peter Pentchev
1f6537967d Remove the duplicate 'Stopping svscan' message on shutdown.
Fix the URL in pkg-descr.
Bump PORTREVISION.

PR:		81665
Submitted by:	Renato Botelho <freebsd@galle.com.br>
2005-05-30 11:28:04 +00:00
Peter Pentchev
fc73a3eebe Fix shutdown on older systems: avoid find's '-depth n' primary.
Reported by:	Robin Breathe <robin@isometry.net>
2004-07-30 17:40:18 +00:00
Peter Pentchev
87f39b0573 Make the startup script also work on older versions of FreeBSD which
lack the daemon(8) utility.
2004-07-27 06:27:07 +00:00
Peter Pentchev
648cd0ea13 - make this script work with the New World Order in /etc/rc.d/localpkg,
where the config files may have been loaded already and our load_rc_config
  invocation may do nothing: thus, we need to honor any previously set value
  of svscan_enable;
- for some reason svscan_stop_post() does not like the IFS-like vars set by
  rc.subr and localpkg; use find/xargs instead of having the shell parse its
  own output;
- dequote COMMENT;
- fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the
  errors from svscan are actually picked up by readproctitle, as explained
  in <20040630175050.GD979@straylight.m.ringlet.net>;
- move the 'Starting svscan' message to its proper place, so that the PATH
  set by env(1) affects svscan, not the echo command :)
2004-07-26 12:48:44 +00:00
Norikatsu Shigemura
6405ace67d Oops, I forgot to add "print stop message". 2004-07-25 08:54:56 +00:00
Norikatsu Shigemura
ff622b2d5d o portlint clean. [1]
o print start message. [1]
o daemon(8)'ify. [2]
o bump PORTREVISION accordingly.

PR:		ports/68558 [1]
Submitted by:	Renato Botelho <renato@galle.com.br> [1]
		myself [2]
Reviewed by:	roam [2]
Approved by:	roam (blanket)
2004-07-25 08:52:51 +00:00
Peter Pentchev
ee6be7e1f6 Switch from using /bin/csh to /bin/sh, as suggested on -ports. 2004-06-28 23:56:18 +00:00
Peter Pentchev
722d36ed3b USE_RC_SUBR.
Submitted by:	nork
2004-06-28 23:07:40 +00:00
Peter Pentchev
33059bd045 Remove pkg-comment files in my ports. 2003-02-19 16:07:30 +00:00
Peter Pentchev
ba40505c14 Install the sample startup script directly to etc/rc.d/, instead of
putting it into the examples directory, where next to nobody found it.

Requested by:	Dan Langille <dan@langille.org>,
		Antoine Beaupre <anarcat@anarcat.ath.cx> - both months ago
2003-01-17 15:06:24 +00:00
Peter Pentchev
863b8c0aed Install Gerritt Pape's manual pages unless WITHOUT_MAN is defined.
Properly remove the sample svscan.sh script at deinstall time.
2002-02-07 14:57:58 +00:00
Peter Pentchev
51aa799051 Tweak the startup script so that it is *really* a FreeBSD startup
script; that is, add 'start|stop' argument processing and
the ability to actually stop the script.
Bump PORTREVISION to indicate a functionality change - or rather,
to indicate a change that actually makes this a FreeBSD port..

Final push by:	Dan Langille <dan@langille.org> in a somewhat
		unrelated e-mail exchange
Obtained from:	a svscan SysV init script that I somehow managed
		to lose the source and URL for :(
2002-01-28 19:37:14 +00:00
Peter Pentchev
5d9acace80 Update to 0.76.
Assume maintainership.

Reviewed by:	nbm
Approved by:	nbm
2002-01-04 14:38:13 +00:00
Peter Pentchev
5069db76e5 Almost revert a change made in daemontools-0.70's supervise, where
the one-second sleep between invocations was moved to after the actual
invocation.  This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second.  Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.

Silence by:	Daniel J. Bernstein (no telling if he'll fix this in later
		daemontools releases, so I guess we'll have to do it as part
		of our port..)
Approved by:	nbm (maintainer)
2001-05-10 07:10:24 +00:00
Steve Price
edbee7c0b8 Put the NO_PACKAGE strings in double quotes to the escaped single quote
becomes just a single quote instead \'.
2000-12-03 05:16:41 +00:00
Neil Blakey-Milner
eba8075a32 Add the ftp version of the MASTER_SITE, since it is available. 2000-07-29 16:27:31 +00:00
Neil Blakey-Milner
38d0ebaebf Add a sample rc file for svscan startup, in partial fulfillment of the
PR.  I'll leave the creation of the directory, whatever it may be, to
the user.

PR:		ports/19191
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@linf.unb.br>
2000-06-22 09:22:15 +00:00
Neil Blakey-Milner
89b0981b2e Update to (non-backwards-compatible) daemontools 0.70, and take over
MAINTAINERship.

PR:		16580
2000-04-27 21:43:43 +00:00
Michael Haro
960543ecef Corrrect whitespace introduced during PORTNAME conversion and portlint 2000-04-22 10:14:11 +00:00
Chris Piazza
f9bfad56c5 Update with the new PORTNAME/PORTVERSION variable 2000-04-09 19:09:11 +00:00
Peter Wemm
8100143543 $Id$ -> $FreeBSD$ 1999-08-31 02:00:46 +00:00
Tim Vanderhoek
a84b5b5f94 #4/4 enforcing Caps, no period
[Has anyone figured-out what makes the number 393 so interesting to PW, now?]

I wonder what was going through Jordan's head during his infamous
$Id$-smashing commit.

Before I forget....

Thanks to naddy@mips.rhein-neckar.de (Christian Weisgerber) for prompting
this commit.  See msg-id: 7geokh$tje$1@mips.rhein-neckar.de
1999-06-26 19:22:14 +00:00
Michael Haro
e9792ecbd0 Add more WWW: tags
I must really like taking on sick tasks.  First gtk, now this.
1999-05-03 04:21:58 +00:00
Tim Vanderhoek
1980dcdff7 These manpages removed by Tim Vanderhoek. 1998-08-19 20:43:24 +00:00
Donald Burr
b56ad45c73 PR: ports/6899
Submitted by:	Dom Mitchell <dom@myrddin.demon.co.uk>
Import of new port sysutils/daemontools, a set of
service (daemon) monitoring and logging tools.
1998-06-16 07:47:03 +00:00