summarylogtreecommitdiffstats
path: root/h2o.service
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-06-09 11:41:58 -0700
committerAndy Weidenbaum2015-06-09 11:41:58 -0700
commitb7427268a9218ed3a0b8b24461e4b11d0ef9a048 (patch)
tree470cd3d30e1681a74367f1a9fd65288812ff33e4 /h2o.service
downloadaur-b7427268a9218ed3a0b8b24461e4b11d0ef9a048.tar.gz
Initial import
Diffstat (limited to 'h2o.service')
-rw-r--r--h2o.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/h2o.service b/h2o.service
new file mode 100644
index 000000000000..80108332a6af
--- /dev/null
+++ b/h2o.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=h2o, a very fast HTTP server written in C
+After=network.target
+
+[Service]
+Type=simple
+SyslogLevel=notice
+
+ExecStart=/usr/bin/h2o --mode master --conf /etc/h2o.conf
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillMode=process
+
+[Install]
+WantedBy=multiuser.target