[Queens-only] Do not remove symlinks by containers-tmpwatch
This change prevents the containers-tmpwatch cron job from deleting
symlinks, so that /var/log/containers/swift, which is a symlink to
/var/log/swift, is preserved.
This patch is submitted to queens directly because we no longer have
the symlink for /var/log/container/swift since the following patch[1]
was merged.
[1] b1486301f2
Closes-Bug: #1906489
Change-Id: I70cd4bc3d7bff766e95026c6ea8c60c98c6d13c7
This commit is contained in:
parent
e954f302b0
commit
def2071463
|
@ -113,7 +113,7 @@ outputs:
|
|||
mode: 0755
|
||||
content: |
|
||||
#!/bin/sh
|
||||
tmpwatch --nodirs \
|
||||
tmpwatch --nodirs --nosymlinks \
|
||||
-X "/var/log/containers/*/*log" \
|
||||
-X "/var/log/containers/*/*/*log" \
|
||||
-X "/var/log/containers/*/*err" \
|
||||
|
|
Loading…
Reference in New Issue