projects
/
ddns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f725e5
)
Добавлен юнит для systemd
master
author
Roman Bazalevsky
<rvb@rvb.name>
Thu, 19 May 2016 17:09:07 +0000
(20:09 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Thu, 19 May 2016 17:09:07 +0000
(20:09 +0300)
systemd/ddns.service
[new file with mode: 0644]
patch
|
blob
diff --git a/systemd/ddns.service
b/systemd/ddns.service
new file mode 100644
(file)
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