a67a8d7
# It is not recommended to modify this file in-place, because it will be
Jan Kaluza 0b19f7b
# overwritten during package upgrades.  If you want to customize, the best
a67a8d7
# way is to use the "systemctl edit" command to create an override unit.
a67a8d7
a67a8d7
# For example, to pass additional options (for instance, -D
a67a8d7
# definitions) to the httpd binary at startup, create an override unit
a67a8d7
# (as is done by 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
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