From: Akinori Hattori Date: Wed, 4 Jul 2018 13:22:19 +0000 (+0900) Subject: www-servers/h2o: update systemd unit X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=706e08d516299f045abb4eb40b35d1f5460afb22;p=gentoo.git www-servers/h2o: update systemd unit Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/www-servers/h2o/files/h2o.service b/www-servers/h2o/files/h2o.service index fe32c45cd90f..0ea3f45fec44 100644 --- a/www-servers/h2o/files/h2o.service +++ b/www-servers/h2o/files/h2o.service @@ -1,13 +1,13 @@ [Unit] -Description=An optimized HTTP/1.x, HTTP/2 server -After=network-online.target nss-lookup.target remote-fs.target +Description=H2O - the optimized HTTP/1, HTTP/2 server +After=network.target remote-fs.target nss-lookup.target [Service] -Type=simple -ExecStart=/usr/bin/h2o -c /etc/h2o/h2o.conf -m master -SyslogLevel=notice +ExecStartPre=/usr/bin/h2o -m test -c /etc/h2o/h2o.conf +ExecStart=/usr/bin/h2o -m master -c /etc/h2o/h2o.conf +ExecReload=/bin/kill -HUP ${MAINPID} +ExecStop=/bin/kill -TERM ${MAINPID} PrivateTmp=true -LimitNOFILE=infinity [Install] WantedBy=multi-user.target