From 3d1dead13b5f3d7674b98a3f8684686d8fbc681e Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:47:30 +0200 Subject: Initial Systemd Service Run: 2/3 Signed-off-by: Georg --- systemd/dyndns-pdns.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/dyndns-pdns.service (limited to 'systemd/dyndns-pdns.service') 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 -- cgit v1.2.3