summaryrefslogtreecommitdiffstats
path: root/debian/nghttpx.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/nghttpx.service')
-rw-r--r--debian/nghttpx.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/nghttpx.service b/debian/nghttpx.service
new file mode 100644
index 0000000..76c9115
--- /dev/null
+++ b/debian/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