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