diff options
Diffstat (limited to 'templates/system/syslog/global/archive/node.def')
-rw-r--r-- | templates/system/syslog/global/archive/node.def | 10 |
1 files changed, 5 insertions, 5 deletions
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\" " |