summarylogtreecommitdiffstats
path: root/h2o.service
blob: 9d55e5287c158e6fa54a8141736eb229b962a909 (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-online.target nss-lookup.target remote-fs.target

[Service]
Type=simple
ExecStart=/usr/bin/h2o --mode master --conf /etc/h2o.conf
ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/kill -TERM $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target