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/refs/heads/master?ds=inline;hp=6f725e53bc2c06704082fdc0f2141185237fb3df Добавлен юнит для 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