0e3136
# See httpd.service(8) for more information on using the httpd service.
0e3136
0e3136
# Modifying this file in-place is not recommended, because changes
0e3136
# will be overwritten during package upgrades.  To customize the
0e3136
# behaviour, run "systemctl edit httpd" to create an override unit.
0e3136
0e3136
# For example, to pass additional options (such as -D definitions) to
0e3136
# the httpd binary at startup, create an override unit (as is done by
0e3136
# systemctl edit) and enter the following:
0e3136
0e3136
#	[Service]
0e3136
#	Environment=OPTIONS=-DMY_DEFINE
0e3136
0e3136
[Unit]
0e3136
Description=The Apache HTTP Server
0e3136
Wants=httpd-init.service
0e3136
After=network.target remote-fs.target nss-lookup.target httpd-init.service
0e3136
Documentation=man:httpd.service(8)
0e3136
0e3136
[Service]
0e3136
Type=notify
0e3136
Environment=LANG=C
0e3136
0e3136
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
0e3136
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
0e3136
# Send SIGWINCH for graceful stop
0e3136
KillSignal=SIGWINCH
0e3136
KillMode=mixed
0e3136
PrivateTmp=true
0e3136
OOMPolicy=continue
0e3136
0e3136
[Install]
0e3136
WantedBy=multi-user.target