summaryrefslogtreecommitdiffstats
path: root/debian/ngtcp2-server.ngtcp2d.service
blob: 8320ad9566a4b94bb25f8dcb90ef5a5877ff4444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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