altarch-user / rpms / httpd

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