diff options
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 |