1 |
commit: 706e08d516299f045abb4eb40b35d1f5460afb22 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 4 13:22:19 2018 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 4 13:23:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706e08d5 |
7 |
|
8 |
www-servers/h2o: update systemd unit |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
www-servers/h2o/files/h2o.service | 12 ++++++------ |
13 |
1 file changed, 6 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/www-servers/h2o/files/h2o.service b/www-servers/h2o/files/h2o.service |
16 |
index fe32c45cd90..0ea3f45fec4 100644 |
17 |
--- a/www-servers/h2o/files/h2o.service |
18 |
+++ b/www-servers/h2o/files/h2o.service |
19 |
@@ -1,13 +1,13 @@ |
20 |
[Unit] |
21 |
-Description=An optimized HTTP/1.x, HTTP/2 server |
22 |
-After=network-online.target nss-lookup.target remote-fs.target |
23 |
+Description=H2O - the optimized HTTP/1, HTTP/2 server |
24 |
+After=network.target remote-fs.target nss-lookup.target |
25 |
|
26 |
[Service] |
27 |
-Type=simple |
28 |
-ExecStart=/usr/bin/h2o -c /etc/h2o/h2o.conf -m master |
29 |
-SyslogLevel=notice |
30 |
+ExecStartPre=/usr/bin/h2o -m test -c /etc/h2o/h2o.conf |
31 |
+ExecStart=/usr/bin/h2o -m master -c /etc/h2o/h2o.conf |
32 |
+ExecReload=/bin/kill -HUP ${MAINPID} |
33 |
+ExecStop=/bin/kill -TERM ${MAINPID} |
34 |
PrivateTmp=true |
35 |
-LimitNOFILE=infinity |
36 |
|
37 |
[Install] |
38 |
WantedBy=multi-user.target |