/lib/systemd/system/h2o.service is in h2o 2.2.4+dfsg-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [Unit]
Description=Optimized HTTP/1.x, HTTP/2 server
Documentation=man:h2o(8)
Documentation=file:/usr/share/doc/h2o/index.html
Documentation=https://h2o.examp1e.net
After=network-online.target
[Service]
Type=simple
Environment=CONFIG=/etc/h2o/h2o.conf
EnvironmentFile=-/etc/default/h2o
ExecStart=/usr/bin/h2o -c ${CONFIG} -m master
ExecReload=/bin/kill -HUP $MAINPID
ProtectSystem=full
PrivateTmp=yes
Restart=on-failure
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
|