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