diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:30:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:30:55 +0000 |
commit | 9f7a91c45ae889e536b71650aed77c05224b11b1 (patch) | |
tree | 5cc8df8feba7e2923ed6b810d21580d01ad33ada /debian/ngtcp2-server.ngtcp2d.service | |
parent | Adding upstream version 0.12.1+dfsg. (diff) | |
download | ngtcp2-debian.tar.xz ngtcp2-debian.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 'debian/ngtcp2-server.ngtcp2d.service')
-rw-r--r-- | debian/ngtcp2-server.ngtcp2d.service | 17 |
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 |