summarylogtreecommitdiffstats
path: root/ddns-go.user.service
diff options
context:
space:
mode:
Diffstat (limited to 'ddns-go.user.service')
-rw-r--r--ddns-go.user.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/ddns-go.user.service b/ddns-go.user.service
new file mode 100644
index 000000000000..065711198530
--- /dev/null
+++ b/ddns-go.user.service
@@ -0,0 +1,13 @@
+[Unit]
+Description = A simple, easy-to-use ddns service.
+Wants = network-online.target
+After = network-online.target
+
+[Service]
+ExecStart = /usr/bin/ddns-go -c .config/ddns-go/config.yml
+ExecStartPost = /usr/bin/mkdir -p .config/ddns-go
+Restart = always
+RestartSec = 5
+
+[Install]
+WantedBy = default.target