summarylogtreecommitdiffstats
path: root/h2o.service
blob: 5b5e716883459164e1a9bc8aa5c2b212df87e328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=H2O - the optimized HTTP/1, HTTP/2 server
After=network.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