summarylogtreecommitdiffstats
path: root/chinadns@.service
diff options
context:
space:
mode:
Diffstat (limited to 'chinadns@.service')
-rw-r--r--chinadns@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/chinadns@.service b/chinadns@.service
new file mode 100644
index 000000000000..9b7ca7436822
--- /dev/null
+++ b/chinadns@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=ChinaDNS Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/chinadns -s 114.114.114.114,%i -p 5353 -y 0.3 -d -c /etc/chnroute.txt
+
+[Install]
+WantedBy=multi-user.target
+