576df0
# This is a template for httpd instances.
576df0
# See httpd@.service(8) for more information.
576df0
576df0
[Unit]
576df0
Description=The Apache HTTP Server
576df0
After=network.target remote-fs.target nss-lookup.target
576df0
Documentation=man:httpd@.service(8)
576df0
576df0
[Service]
576df0
Type=notify
576df0
Environment=LANG=C
576df0
Environment=HTTPD_INSTANCE=%i
576df0
ExecStartPre=/bin/mkdir -m 710 -p /run/httpd/instance-%i
576df0
ExecStartPre=/bin/chown root.apache /run/httpd/instance-%i
576df0
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND -f conf/%i.conf
576df0
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful -f conf/%i.conf
576df0
# Send SIGWINCH for graceful stop
576df0
KillSignal=SIGWINCH
576df0
KillMode=mixed
576df0
PrivateTmp=true
576df0
576df0
[Install]
576df0
WantedBy=multi-user.target