|
|
5860daa |
#
|
|
|
38b8da0 |
# This is an example instance-specific configuration file. See the
|
|
|
b18b77b |
# httpd@.service(8) man page for detailed information on using the
|
|
|
38b8da0 |
# the httpd@.service with instances.
|
|
|
5860daa |
#
|
|
|
00fb256 |
# To use this example, copy instance.conf to /etc/httpd/conf/foobar.conf
|
|
|
5860daa |
# This config will then used as the default configuration when
|
|
|
5860daa |
# running:
|
|
|
5860daa |
#
|
|
|
5860daa |
# # systemctl start httpd@foobar.service
|
|
|
5860daa |
#
|
|
|
5860daa |
# The changes compared to the default are:
|
|
|
b18b77b |
# - DefaultRuntime, DefaultStateDir and Pidfile renamed to instance-specific
|
|
|
5860daa |
# - default logfile names are prefixed with the instance name
|
|
|
5860daa |
# - /etc/httpd/conf.d is NOT included by default (conf.modules.d still is)
|
|
|
5860daa |
#
|
|
|
5860daa |
# Further customisations will be required for an instance to run
|
|
|
5860daa |
# simultaneously to httpd.service under the default configuration,
|
|
|
5860daa |
# e.g. changing the port used with Listen.
|
|
|
5860daa |
#
|
|
|
5860daa |
|
|
|
5860daa |
DefaultRuntimeDir /run/httpd/instance-${HTTPD_INSTANCE}
|
|
|
b18b77b |
DefaultStateDir /var/lib/httpd/instance-${HTTPD_INSTANCE}
|
|
|
5860daa |
PidFile /run/httpd/instance-${HTTPD_INSTANCE}.pid
|