diff options
Diffstat (limited to 'templates/system/syslog/global/archive')
-rw-r--r-- | templates/system/syslog/global/archive/files/node.def | 2 | ||||
-rw-r--r-- | templates/system/syslog/global/archive/node.def | 10 | ||||
-rw-r--r-- | templates/system/syslog/global/archive/size/node.def | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/templates/system/syslog/global/archive/files/node.def b/templates/system/syslog/global/archive/files/node.def index ca2bf175..86fc3808 100644 --- a/templates/system/syslog/global/archive/files/node.def +++ b/templates/system/syslog/global/archive/files/node.def @@ -1,3 +1,3 @@ type: u32 -help: "Number of saved files" +help: Number of saved files default: 5 diff --git a/templates/system/syslog/global/archive/node.def b/templates/system/syslog/global/archive/node.def index aefdb2d4..3691bbe0 100644 --- a/templates/system/syslog/global/archive/node.def +++ b/templates/system/syslog/global/archive/node.def @@ -1,6 +1,6 @@ -help: "Configure log file size and rotation characteristics" +help: Configure log file size and rotation characteristics # need mandatory files & size -update: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \ -'$(files/@)' '$(size/@)' 1\" " -delete: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \ -'$(files/@)' '$(size/@)' 0\" " +update:expression: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \ +'$VAR(files/@)' '$VAR(size/@)' 1\" " +delete:expression: "sudo sh -c \"/opt/vyatta/sbin/vyatta_update_logrotate.pl \ +'$VAR(files/@)' '$VAR(size/@)' 0\" " diff --git a/templates/system/syslog/global/archive/size/node.def b/templates/system/syslog/global/archive/size/node.def index 3c8da6e8..c02fd0f1 100644 --- a/templates/system/syslog/global/archive/size/node.def +++ b/templates/system/syslog/global/archive/size/node.def @@ -1,3 +1,3 @@ type: u32 -help: "Size of log files (kbytes)" +help: Size of log files (kbytes) default: 250 |