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