summarylogtreecommitdiffstats
path: root/h2o.service
diff options
context:
space:
mode:
Diffstat (limited to 'h2o.service')
-rw-r--r--h2o.service14
1 files changed, 8 insertions, 6 deletions
diff --git a/h2o.service b/h2o.service
index 80108332a6af..5b5e71688345 100644
--- a/h2o.service
+++ b/h2o.service
@@ -1,14 +1,16 @@
[Unit]
-Description=h2o, a very fast HTTP server written in C
-After=network.target
+Description=H2O - the optimized HTTP/1, HTTP/2 server
+After=network.target nss-lookup.target remote-fs.target
[Service]
Type=simple
-SyslogLevel=notice
-
+PIDFile=/run/h2o.pid
ExecStart=/usr/bin/h2o --mode master --conf /etc/h2o.conf
ExecReload=/usr/bin/kill -HUP $MAINPID
-KillMode=process
+ExecStop=/usr/bin/kill -TERM $MAINPID
+SyslogLevel=notice
+PrivateTmp=true
+LimitNOFILE=infinity
[Install]
-WantedBy=multiuser.target
+WantedBy=multi-user.target