fce414a
# See httpd.service(8) for more information on using the httpd service.
710b63c
55508e1
# Modifying this file in-place is not recommended, because changes
55508e1
# will be overwritten during package upgrades.  If you want to
55508e1
# customize the behaviour, the best way is to use "systemctl edit"
55508e1
# command to create an override unit.
a67a8d7
55508e1
# For example, to pass additional options (such as -D definitions) to
55508e1
# the httpd binary at startup, create an override unit (as is done by
55508e1
# systemctl edit) and enter the following:
Jan Kaluza 0b19f7b
Jan Kaluza 0b19f7b
#	[Service]
Jan Kaluza 0b19f7b
#	Environment=OPTIONS=-DMY_DEFINE
Jan Kaluza 0b19f7b
bd3365e
[Unit]
3a44ff7
Description=The Apache HTTP Server
42df2ed
After=network.target remote-fs.target nss-lookup.target
fce414a
Documentation=man:httpd.service(8)
bd3365e
bd3365e
[Service]
Jan Kaluza a0a00e7
Type=notify
Jan Kaluza 0b19f7b
Environment=LANG=C
Jan Kaluza 0b19f7b
Jan Kaluza a0a00e7
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ea6aac8
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
3693038
# Send SIGWINCH for graceful stop
3693038
KillSignal=SIGWINCH
3693038
KillMode=mixed
ce009f9
PrivateTmp=true
bd3365e
bd3365e
[Install]
bd3365e
WantedBy=multi-user.target