summarylogtreecommitdiffstats
path: root/doh-proxy.service
diff options
context:
space:
mode:
Diffstat (limited to 'doh-proxy.service')
-rw-r--r--doh-proxy.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/doh-proxy.service b/doh-proxy.service
new file mode 100644
index 000000000000..b969629c5007
--- /dev/null
+++ b/doh-proxy.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DoH Proxy HTTPS/2 Listener
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/conf.d/doh-proxy
+ExecStart=/usr/bin/doh-proxy --upstream-resolver $NS --upstream-port $UPSTREAMPORT --listen-address $ADDR --listen-port $LISTENPORT --certfile $CERT --keyfile $KEY
+
+[Install]
+WantedBy=multi-user.target