From 72593e87aee0fce0a4880eabb1d679445a7f767b Mon Sep 17 00:00:00 2001 From: Endre Fejes Date: Mon, 11 Nov 2024 06:26:39 -0800 Subject: [PATCH] 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 --- cookbooks/fb_tmpclean/templates/default/tmpreaper.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/fb_tmpclean/templates/default/tmpreaper.erb b/cookbooks/fb_tmpclean/templates/default/tmpreaper.erb index 5bbf7e24..bc3d61b2 100755 --- a/cookbooks/fb_tmpclean/templates/default/tmpreaper.erb +++ b/cookbooks/fb_tmpclean/templates/default/tmpreaper.erb @@ -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' -%>