summaryrefslogtreecommitdiff
path: root/h2o/h2o.service
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-27 08:47:12 +0100
committerErich Eckner <git@eckner.net>2020-02-27 08:48:23 +0100
commit706f7703e0cb97bae42e5113ce25900211b7168c (patch)
treea87ed9bcbb087e696a08d31ea292ed3d56fd7703 /h2o/h2o.service
parent847a420da4630c7f5116538c9e16c82e6cb720d3 (diff)
downloadarchlinuxewe-706f7703e0cb97bae42e5113ce25900211b7168c.tar.xz
h2o new
Diffstat (limited to 'h2o/h2o.service')
-rw-r--r--h2o/h2o.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/h2o/h2o.service b/h2o/h2o.service
new file mode 100644
index 000000000..680f6ef4e
--- /dev/null
+++ b/h2o/h2o.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=H2O - the optimized HTTP/1, HTTP/2 server
+After=network-online.target nss-lookup.target remote-fs.target
+
+[Service]
+Type=simple
+PIDFile=/run/h2o.pid
+ExecStart=/usr/bin/h2o --mode master --conf /etc/h2o.conf
+ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecStop=/usr/bin/kill -TERM $MAINPID
+SyslogLevel=notice
+PrivateTmp=true
+LimitNOFILE=infinity
+
+[Install]
+WantedBy=multi-user.target