diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-04 22:22:19 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-04 22:23:48 +0900 |
commit | 706e08d516299f045abb4eb40b35d1f5460afb22 (patch) | |
tree | 6191101e62e0ba50401bb3014336300fb9ba2d47 /www-servers/h2o | |
parent | www-servers/h2o: update init script (diff) | |
download | gentoo-706e08d516299f045abb4eb40b35d1f5460afb22.tar.gz gentoo-706e08d516299f045abb4eb40b35d1f5460afb22.tar.bz2 gentoo-706e08d516299f045abb4eb40b35d1f5460afb22.zip |
www-servers/h2o: update systemd unit
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-servers/h2o')
-rw-r--r-- | www-servers/h2o/files/h2o.service | 12 |
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 |