summaryrefslogtreecommitdiff
path: root/templates/service
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service')
-rw-r--r--templates/service/dns/dynamic/node.def1
-rw-r--r--templates/service/dns/forwarding/node.def1
-rw-r--r--templates/service/node.def1
-rw-r--r--templates/service/ssh/node.def1
-rw-r--r--templates/service/telnet/node.def1
5 files changed, 5 insertions, 0 deletions
diff --git a/templates/service/dns/dynamic/node.def b/templates/service/dns/dynamic/node.def
index 99356334..54615bea 100644
--- a/templates/service/dns/dynamic/node.def
+++ b/templates/service/dns/dynamic/node.def
@@ -1,2 +1,3 @@
+priority: 919
help: Configure Dynamic DNS
commit:expression: $VAR(./interface/@@) != ""; "At least one interface must be set to send DDNS updates for"
diff --git a/templates/service/dns/forwarding/node.def b/templates/service/dns/forwarding/node.def
index 12d7bb51..2c42b1c3 100644
--- a/templates/service/dns/forwarding/node.def
+++ b/templates/service/dns/forwarding/node.def
@@ -1,3 +1,4 @@
+priority: 918
help: Configure DNS forwarding
commit:expression: $VAR(./listen-on) != ""; "At least one interface must be configured for DNS forwarding parameter 'listen-on'"
delete:expression: "touch /tmp/dnsmasq.$PPID"
diff --git a/templates/service/node.def b/templates/service/node.def
index a2441db9..e9040da1 100644
--- a/templates/service/node.def
+++ b/templates/service/node.def
@@ -1 +1,2 @@
+priority: 900
help: Configure specified service
diff --git a/templates/service/ssh/node.def b/templates/service/ssh/node.def
index dbe32a6f..ecf54e41 100644
--- a/templates/service/ssh/node.def
+++ b/templates/service/ssh/node.def
@@ -1,3 +1,4 @@
+priority: 915
help: Enable/disable Secure SHell (SSH) protocol
delete:sudo /usr/sbin/invoke-rc.d ssh stop
sudo sh -c "echo 'SSHD_OPTS=' > /etc/default/ssh"
diff --git a/templates/service/telnet/node.def b/templates/service/telnet/node.def
index eefb3b4a..9b2814aa 100644
--- a/templates/service/telnet/node.def
+++ b/templates/service/telnet/node.def
@@ -1,3 +1,4 @@
+priority: 916
help: Enable/disable Network Virtual Terminal Protocol (TELNET) protocol
create: touch /tmp/vyatta-telnet.$PPID
delete: /opt/vyatta/sbin/vyatta_update_telnet disable