summaryrefslogtreecommitdiff
path: root/www-servers/h2o/files/h2o.service
blob: 0ea3f45fec44329cc7a2b95c8a7325684282fb9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=H2O - the optimized HTTP/1, HTTP/2 server
After=network.target remote-fs.target nss-lookup.target

[Service]
ExecStartPre=/usr/bin/h2o -m test -c /etc/h2o/h2o.conf
ExecStart=/usr/bin/h2o -m master -c /etc/h2o/h2o.conf
ExecReload=/bin/kill -HUP ${MAINPID}
ExecStop=/bin/kill -TERM ${MAINPID}
PrivateTmp=true

[Install]
WantedBy=multi-user.target