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