summaryrefslogtreecommitdiffstats
path: root/debian/nghttp2-proxy.nghttpx.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/nghttp2-proxy.nghttpx.service')
-rw-r--r--debian/nghttp2-proxy.nghttpx.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/nghttp2-proxy.nghttpx.service b/debian/nghttp2-proxy.nghttpx.service
new file mode 100644
index 0000000..76c9115
--- /dev/null
+++ b/debian/nghttp2-proxy.nghttpx.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=HTTP/2 proxy
+Documentation=man:nghttpx
+After=network.target
+
+[Service]
+Type=notify
+ExecStart=/usr/sbin/nghttpx --conf=/etc/nghttpx/nghttpx.conf
+ExecReload=/bin/kill --signal HUP $MAINPID
+KillSignal=SIGQUIT
+PrivateTmp=yes
+ProtectHome=yes
+ProtectSystem=full
+Restart=always
+
+[Install]
+WantedBy=multi-user.target