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