freebsd-ports/www/apache24
Alexander Leidinger a3fbcaec53
www/apache24: make the start script service jails ready
The setup I've chosen is to allow ipv4/ipv6 access. It does not allow
to use sysv IPC in a jail. If you want to use this possibility, the
config would need to be changed to "net_basic sysvipc" instead.
More advanced use cases may need different service jail options.
The config can be overridden in rc.conf.

See also:
  https://docs.freebsd.org/en/books/handbook/jails/#service-jails
  https://docs.freebsd.org/en/articles/rc-scripting/#rcng-service-jails

Some notes:
 - There are special apache24_limits_* stuff which is different from
   the name_limits stuff as part of the rc framework.
 - The limits part in the precmd will probably not work in a service
   jail, as the start command will be executed in a jail and the precmd
   outside the jail.
 - While the patch is taking the profiles into account, it may fail when
   the jail is started, as the name of the service jail is derived from
   the name of the rc script (assuming "profiles" means different
   instances of apache are started for each profile).
   The tomcat/oauth2-proxy/openhab ports use a way to have different
   instances of the software running in parallel which is based upon the
   name of the rc script (via links to the original rc script). That way
   works well with service jails.

Approved by:	maintainer timeout
PR:		279494
2025-08-29 10:07:34 +02:00
..
files www/apache24: make the start script service jails ready 2025-08-29 10:07:34 +02:00
Makefile www/apache24: make the start script service jails ready 2025-08-29 10:07:34 +02:00
Makefile.options
Makefile.options.desc
distinfo
pkg-descr
pkg-help
pkg-message
pkg-plist