Merge lp:~hloeung/charms/xenial/daisy-retracer/remove-saved-crashes into lp:~daisy-pluckers/charms/xenial/daisy-retracer/trunk

Proposed by Haw Loeung
Status: Merged
Merged at revision: 196
Proposed branch: lp:~hloeung/charms/xenial/daisy-retracer/remove-saved-crashes
Merge into: lp:~daisy-pluckers/charms/xenial/daisy-retracer/trunk
Diff against target: 8 lines (+1/-1)
1 file modified
templates/remove-saved-crash-files.cron.tmpl (+1/-1)
To merge this branch: bzr merge lp:~hloeung/charms/xenial/daisy-retracer/remove-saved-crashes
Reviewer Review Type Date Requested Status
Brian Murray Approve
The Canonical Sysadmins Pending
Review via email: mp+368427@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

These crash files are saved so that they can be manually retraced but I agree they don't need to be kept for a week however 1 day seems a bit short so I'll change it to 2.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/remove-saved-crash-files.cron.tmpl'
2--- templates/remove-saved-crash-files.cron.tmpl 2014-09-26 18:26:05 +0000
3+++ templates/remove-saved-crash-files.cron.tmpl 2019-06-06 03:41:30 +0000
4@@ -1,3 +1,3 @@
5 # This file is generated by Juju. Do not make local changes.
6 MAILTO=$MAILTO
7-59 23 * * 5 root rm $VAR_DIR/*.crash
8+59 * * * * root find $VAR_DIR/ -type f -name '*.crash' -mtime +0 -delete

Subscribers

People subscribed via source and target branches

to all changes: