Добавлен юнит для systemd master
authorRoman Bazalevsky <rvb@rvb.name>
Thu, 19 May 2016 17:09:07 +0000 (20:09 +0300)
committerRoman Bazalevsky <rvb@rvb.name>
Thu, 19 May 2016 17:09:07 +0000 (20:09 +0300)
systemd/ddns.service [new file with mode: 0644]

diff --git a/systemd/ddns.service b/systemd/ddns.service
new file mode 100644 (file)
index 0000000..eb6248e
--- /dev/null
@@ -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