summaryrefslogtreecommitdiff
path: root/templates/system/syslog/global/archive/files/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/syslog/global/archive/files/node.def')
-rw-r--r--templates/system/syslog/global/archive/files/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/system/syslog/global/archive/files/node.def b/templates/system/syslog/global/archive/files/node.def
index 59869a51..8755bbe6 100644
--- a/templates/system/syslog/global/archive/files/node.def
+++ b/templates/system/syslog/global/archive/files/node.def
@@ -1,3 +1,9 @@
type: u32
+
help: Set number of saved files
+
default: 5
+
+update:
+ sudo sh -c "/opt/vyatta/sbin/vyatta_update_logrotate.pl \
+ '$VAR(@)' '$VAR(../size/@)' 1"