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