summaryrefslogtreecommitdiffstats
path: root/systemd/dyndns-pdns.service
diff options
context:
space:
mode:
authorGeorg2021-07-21 12:47:30 +0200
committerGeorg2021-07-21 12:47:30 +0200
commit3d1dead13b5f3d7674b98a3f8684686d8fbc681e (patch)
tree6431154e8ea0e33e5f28d1302d20fdf9062f6a52 /systemd/dyndns-pdns.service
parent6410fd8d58e250a877a0bcdab06184e45e707c65 (diff)
downloadsystem-3d1dead13b5f3d7674b98a3f8684686d8fbc681e.tar.gz
system-3d1dead13b5f3d7674b98a3f8684686d8fbc681e.tar.bz2
system-3d1dead13b5f3d7674b98a3f8684686d8fbc681e.zip
Initial Systemd Service Run: 2/3
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'systemd/dyndns-pdns.service')
-rw-r--r--systemd/dyndns-pdns.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/dyndns-pdns.service b/systemd/dyndns-pdns.service
new file mode 100644
index 0000000..7175bfe
--- /dev/null
+++ b/systemd/dyndns-pdns.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Dynamic DNS Collector
+After=network.target
+
+[Service]
+Type=simple
+User=dyndns
+Group=dyndns
+WorkingDirectory=/opt/dyndns/
+ExecStart=/opt/dyndns/go/bin/dyndns-pdns -config=/opt/dyndns/config.yml
+RestartSec=15
+Restart=always
+
+[Install]
+WantedBy=multi-user.target