From 288ab75d4f2aed39e8993d82f127e6e9dc16b973 Mon Sep 17 00:00:00 2001 From: James Davidson Date: Tue, 4 Sep 2012 18:28:12 -0700 Subject: Configure logrotate to maintain log file ownership logrotate needs the create config option so that it keeps the original log file's permissions and ownership. Fixes bug 8240 --- templates/system/syslog/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/system/syslog') diff --git a/templates/system/syslog/node.def b/templates/system/syslog/node.def index ebe02232..81fb3f6c 100644 --- a/templates/system/syslog/node.def +++ b/templates/system/syslog/node.def @@ -1,5 +1,5 @@ priority: 400 help: System logging daemon end: if /opt/vyatta/sbin/vyatta_update_syslog.pl; then - sudo /usr/sbin/invoke-rc.d rsyslog reload || sudo /usr/sbin/invoke-rc.d rsyslog restart + sudo /usr/sbin/invoke-rc.d rsyslog restart fi -- cgit v1.2.3