Skip to content

Commit

Permalink
Re-enable tmpreaper on macs (both prod and corp!)
Browse files Browse the repository at this point in the history
Summary: Looks like tmpreaper got disabled when it was converted to a nix package ... in April **2023**. Let's fix that

Differential Revision: D65737138

fbshipit-source-id: de2ae33a826103f489ef923d096bb8c4f1e1bb0e
  • Loading branch information
fejese authored and facebook-github-bot committed Nov 11, 2024
1 parent edea576 commit 72593e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/fb_tmpclean/templates/default/tmpreaper.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
<% path = '/usr/sbin:/usr/bin:/sbin:/bin'
if node.macos?
path << ':/opt/local/sbin:/opt/facebook/sbin'
path << ':/opt/local/sbin:/opt/facebook/sbin:/usr/local/bin'
end
tmpclean = node['fb_tmpclean'].to_hash
topt = tmpclean['timestamptype'] == 'atime' ? '--mtime-dir' : '--mtime' -%>
Expand Down

0 comments on commit 72593e8

Please sign in to comment.