Skip to content

Commit 72593e8

Browse files
fejesefacebook-github-bot
authored andcommitted
Re-enable tmpreaper on macs (both prod and corp!)
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
1 parent edea576 commit 72593e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/fb_tmpclean/templates/default/tmpreaper.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
<% path = '/usr/sbin:/usr/bin:/sbin:/bin'
33
if node.macos?
4-
path << ':/opt/local/sbin:/opt/facebook/sbin'
4+
path << ':/opt/local/sbin:/opt/facebook/sbin:/usr/local/bin'
55
end
66
tmpclean = node['fb_tmpclean'].to_hash
77
topt = tmpclean['timestamptype'] == 'atime' ? '--mtime-dir' : '--mtime' -%>

0 commit comments

Comments
 (0)