Skip to content

Instantly share code, notes, and snippets.

@k4zuki02h4t4
Created July 1, 2018 02:37
Show Gist options
  • Save k4zuki02h4t4/4fa9ad3d1708faac08380ff1510b2f0f to your computer and use it in GitHub Desktop.
Save k4zuki02h4t4/4fa9ad3d1708faac08380ff1510b2f0f to your computer and use it in GitHub Desktop.
[Unit]
Description=H2O - the optimized HTTP/1, HTTP/2 server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=simple
ExecStart=/usr/sbin/h2o -m master -c /etc/h2o/h2o.conf
ExecReload=/bin/kill -HUP ${MAINPID}
ExecStop=/bin/kill -TERM ${MAINPID}
PrivateTmp=true
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment