summaryrefslogtreecommitdiff
path: root/templates/vpn/ipsec/site-to-site
diff options
context:
space:
mode:
authorPaul Gear <github@libertysys.com.au>2017-03-02 22:26:34 +1000
committerGitHub <noreply@github.com>2017-03-02 22:26:34 +1000
commit0ff779958f9c8951bb7e3e866ca52bc70b470fa9 (patch)
treea37dd20b72a2af0176f9664f6aa4786ea939f627 /templates/vpn/ipsec/site-to-site
parent7308178f1b9925064b728a53d79bbdcaef6eaf20 (diff)
downloadvyatta-cfg-vpn-0ff779958f9c8951bb7e3e866ca52bc70b470fa9.tar.gz
vyatta-cfg-vpn-0ff779958f9c8951bb7e3e866ca52bc70b470fa9.zip
Add missingok to logrotate for ipsec
If this is not present, it causes hourly messages in /var/log/messages like this: Mar 2 19:17:01 vyos /USR/SBIN/CRON[9140]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Mar 2 19:17:01 vyos /USR/SBIN/CRON[9138]: (CRON) error (grandchild #9140 failed with exit status 1) Mar 2 19:17:01 vyos /USR/SBIN/CRON[9138]: (CRON) info (No MTA installed, discarding output) This is because cron wants to produce output like the following when ipsec.log is not present: /etc/cron.hourly/vyatta-logrotate-hourly: error: stat of /var/log/vyatta/ipsec.log failed: No such file or directory run-parts: /etc/cron.hourly/vyatta-logrotate-hourly exited with return code 1
Diffstat (limited to 'templates/vpn/ipsec/site-to-site')
0 files changed, 0 insertions, 0 deletions