summarylogtreecommitdiffstats
path: root/dcompass@.service
diff options
context:
space:
mode:
Diffstat (limited to 'dcompass@.service')
-rw-r--r--dcompass@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/dcompass@.service b/dcompass@.service
new file mode 100644
index 000000000000..25660e5eac01
--- /dev/null
+++ b/dcompass@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Dcompass DNS server Service
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/dcompass -c /etc/dcompass/%i.yaml
+User=dcompass
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+
+[Install]
+WantedBy=multi-user.target