From b1d6e514cfb51c65a0a533417cd588d647d7be09 Mon Sep 17 00:00:00 2001 From: Roman Bazalevsky Date: Thu, 19 May 2016 20:09:07 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=20=D1=8E=D0=BD=D0=B8=D1=82=20=D0=B4=D0=BB=D1=8F=20systemd?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- systemd/ddns.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/ddns.service diff --git a/systemd/ddns.service b/systemd/ddns.service new file mode 100644 index 0000000..eb6248e --- /dev/null +++ b/systemd/ddns.service @@ -0,0 +1,15 @@ +[Unit] +Description=Dynamic DNS updater +Requires=network.target +After=network.target + +[Service] +User=bind +Type=simple +PIDFile=/var/run/ddns.pid +ExecStart=/usr/local/bin/ddns +Restart=always +RestartSec=30s + +[Install] +WantedBy=multi-user.target -- 2.34.1