Commit graph

11 commits

Author SHA1 Message Date
Andrey A. Chernov
8452a04665 Use more rcNG compatible method for limits(1)
PR:             101746
2006-08-10 11:51:42 +00:00
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
Andrey A. Chernov
e730d415d0 rc_flags not expanded yet at this point in startup script.
Change it to apache_flags directly.
2004-08-29 11:07:42 +00:00
Andrey A. Chernov
ea9c548604 Move 'limits' from start_precmd to start_cmd because with new localpkg
it affects all subsequent scripts.
2004-07-27 11:17:11 +00:00
Peter Pentchev
f554cfdb78 In the rc.d/localpkg New World Order, the apache.sh startup script may
be executed when the apache_enable and other config variables have
already been set, e.g. via /etc/rc.conf.  In that case, load_rc_config
will not do anything at all, and the "defaults" set in the script will
override the user's settings.  Fix this by honoring any previously-set
config variables.

Carte blanche by:	ache (maintainer)
2004-07-26 15:24:05 +00:00
Andrey A. Chernov
21fea37d04 Add start_precmd to set limits of www user 2004-05-07 20:20:24 +00:00
Andrey A. Chernov
69ddacfb77 commmand -> command 2004-05-01 18:44:59 +00:00
Norikatsu Shigemura
576de236ac rcNG-fy.
Approved by:	ache
Suggested by:	hrs
2004-04-30 21:44:50 +00:00
Dirk Meyer
995ac1fee4 Make startscript apache.sh PREFIX aware at install time,
so it can be called within an path or dir.
e.g. in: /usr/local/etc/rc.local/apache.sh
and in /etc/rc.conf:
local_startup="/usr/local/etc/rc.local"

Approved by:	ache
2002-04-22 03:26:12 +00:00
Andrey A. Chernov
c8a277dd4a Fix path to apachectl in stop 2000-07-18 10:17:39 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00