summaryrefslogtreecommitdiffstats
path: root/debian/ngtcp2-server.ngtcp2d.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:30:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:30:55 +0000
commit9f7a91c45ae889e536b71650aed77c05224b11b1 (patch)
tree5cc8df8feba7e2923ed6b810d21580d01ad33ada /debian/ngtcp2-server.ngtcp2d.service
parentAdding upstream version 0.12.1+dfsg. (diff)
downloadngtcp2-9f7a91c45ae889e536b71650aed77c05224b11b1.tar.xz
ngtcp2-9f7a91c45ae889e536b71650aed77c05224b11b1.zip
Adding debian version 0.12.1+dfsg-1.debian/0.12.1+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/ngtcp2-server.ngtcp2d.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/ngtcp2-server.ngtcp2d.service b/debian/ngtcp2-server.ngtcp2d.service
new file mode 100644
index 0000000..8320ad9
--- /dev/null
+++ b/debian/ngtcp2-server.ngtcp2d.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=ngtcp2 daemon
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/gtlsserver localhost 7777 /etc/ssl/private/ssl-cert-snakeoil.key /etc/ssl/certs/ssl-cert-snakeoil.pem
+WorkingDirectory=/usr/share/ngtcp2d/html
+ExecReload=/bin/kill --signal HUP $MAINPID
+KillSignal=SIGQUIT
+PrivateTmp=yes
+ProtectHome=yes
+ProtectSystem=full
+Restart=always
+
+[Install]
+WantedBy=multi-user.target