Jan Kaluza 0b19f7b
# It's 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
Jan Kaluza 0b19f7b
# way is to create a file "/etc/systemd/system/httpd.service",
Jan Kaluza 0b19f7b
# containing
Jan Kaluza 0b19f7b
#   .include /lib/systemd/system/httpd.service
Jan Kaluza 0b19f7b
#   ...make your changes here...
Jan Kaluza 0b19f7b
# For more info about custom unit files, see
Jan Kaluza 0b19f7b
# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
Jan Kaluza 0b19f7b
Jan Kaluza 0b19f7b
# For example, to pass additional options (for instance, -D definitions) to the
Jan Kaluza 0b19f7b
# httpd binary at startup, you need to create a file named
Jan Kaluza 0b19f7b
# "/etc/systemd/system/httpd.service" containing:
Jan Kaluza 0b19f7b
#	.include /lib/systemd/system/httpd.service
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