summarylogtreecommitdiffstats
path: root/coredns.service
diff options
context:
space:
mode:
authorarshlinux2017-05-26 21:12:48 +0200
committerarshlinux2017-05-26 21:12:48 +0200
commit5ec66dcfaf26a0098ce108db59a83e3aae4b3db4 (patch)
treeb6fb4c72562364f9106445eae2a799d5c081ba02 /coredns.service
downloadaur-dotcoredns.tar.gz
init
Diffstat (limited to 'coredns.service')
-rw-r--r--coredns.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/coredns.service b/coredns.service
new file mode 100644
index 000000000000..4aa92c04502e
--- /dev/null
+++ b/coredns.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=CoreDNS
+After=network.target
+
+[Service]
+Type=simple
+KillMode=process
+WorkingDirectory=~
+ExecStart=/bin/coredns -conf %h/.config/coredns/corefile
+
+[Install]
+WantedBy=default.target
+