diff options
author | Andy Weidenbaum | 2015-08-23 12:54:55 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2015-08-23 12:54:55 -0700 |
commit | e2f8e70c78899a59c4eb6cf7ea01a5a7f8484cdc (patch) | |
tree | 2d5b562a298b2adabb62bf9468fb13fd0b146670 /h2o.service | |
parent | 1df532739e5f41c19d2c6acd79456caf801c69da (diff) | |
download | aur-e2f8e70c78899a59c4eb6cf7ea01a5a7f8484cdc.tar.gz |
updated h2o.service, credit: HLHF and @tatsushid
Diffstat (limited to 'h2o.service')
-rw-r--r-- | h2o.service | 14 |
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 |