Commit graph

3 commits

Author SHA1 Message Date
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Pav Lucistnik
00dd1ca2e3 - Fix rc script to have overridable apache_flags and apache_pidfile
PR:		ports/104465
Reported by:	Andrey Alakozov <aa29@mail.ru>
Submitted by:	Volker <volker@vwsoft.com>
Approved by:	maintainer timeout (apache; 5 months)

- While here, modernize USE_RC_SUBR usage
2007-03-14 20:21:31 +00:00
Renamed from www/apache13-modperl/files/apache.sh (Browse further)