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