|
|
3a44ff7 |
#
|
|
Jan Kaluza |
0b19f7b |
# This file is no longer used to configure additional environment variables
|
|
Jan Kaluza |
0b19f7b |
# for the httpd process.
|
|
|
9eaca20 |
#
|
|
Jan Kaluza |
0b19f7b |
# It has been replaced by systemd. If you want to customize, the best
|
|
Jan Kaluza |
0b19f7b |
# way is to create a file "/etc/systemd/system/httpd.service",
|
|
Jan Kaluza |
0b19f7b |
# containing
|
|
Jan Kaluza |
0b19f7b |
# .include /lib/systemd/system/httpd.service
|
|
Jan Kaluza |
0b19f7b |
# ...make your changes here...
|
|
Jan Kaluza |
0b19f7b |
# For more info about custom unit files, see
|
|
Jan Kaluza |
0b19f7b |
# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
|
|
Jan Kaluza |
0b19f7b |
|
|
Jan Kaluza |
0b19f7b |
|
|
Jan Kaluza |
0b19f7b |
# To set OPTIONS environment variable which was set in this file
|
|
Jan Kaluza |
0b19f7b |
# in older versions, you need to create a file named
|
|
Jan Kaluza |
0b19f7b |
# "/etc/systemd/system/httpd.service" containing:
|
|
Jan Kaluza |
0b19f7b |
# .include /lib/systemd/system/httpd.service
|
|
Jan Kaluza |
0b19f7b |
# [Service]
|
|
Jan Kaluza |
0b19f7b |
# #
|
|
Jan Kaluza |
0b19f7b |
# # To pass additional options (for instance, -D definitions) to the
|
|
Jan Kaluza |
0b19f7b |
# # httpd binary at startup, set OPTIONS here.
|
|
Jan Kaluza |
0b19f7b |
# #
|
|
Jan Kaluza |
0b19f7b |
# Environment=OPTIONS=-DMY_DEFINE
|
|
Jan Kaluza |
0b19f7b |
|
|
|
9eaca20 |
# Note: With previous versions of httpd, the MPM could be changed by
|
|
|
9eaca20 |
# editing an "HTTPD" variable here. With the current version, that
|
|
|
9eaca20 |
# variable is now ignored. The MPM is a loadable module, and the
|
|
|
9eaca20 |
# choice of MPM can be changed by editing the configuration file
|
|
|
9eaca20 |
# /etc/httpd/conf.modules.d/00-mpm.conf.
|
|
|
c187a27 |
#
|