From: Roman Bazalevsky Date: Thu, 19 May 2016 17:09:07 +0000 (+0300) Subject: Добавлен юнит для systemd X-Git-Url: https://git.rvb.name/ddns.git/commitdiff_plain/b1d6e514cfb51c65a0a533417cd588d647d7be09 Добавлен юнит для systemd --- 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