summarylogtreecommitdiffstats
path: root/h2o.service
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-08-23 12:54:55 -0700
committerAndy Weidenbaum2015-08-23 12:54:55 -0700
commite2f8e70c78899a59c4eb6cf7ea01a5a7f8484cdc (patch)
tree2d5b562a298b2adabb62bf9468fb13fd0b146670 /h2o.service
parent1df532739e5f41c19d2c6acd79456caf801c69da (diff)
downloadaur-e2f8e70c78899a59c4eb6cf7ea01a5a7f8484cdc.tar.gz
updated h2o.service, credit: HLHF and @tatsushid
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