Blame SPECS/httpd.service

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