summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-04 22:22:19 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-04 22:23:48 +0900
commit706e08d516299f045abb4eb40b35d1f5460afb22 (patch)
tree6191101e62e0ba50401bb3014336300fb9ba2d47
parentwww-servers/h2o: update init script (diff)
downloadgentoo-706e08d5.tar.gz
gentoo-706e08d5.tar.bz2
gentoo-706e08d5.zip
www-servers/h2o: update systemd unit
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--www-servers/h2o/files/h2o.service12
1 files changed, 6 insertions, 6 deletions
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