aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-21 09:17:49 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-21 09:17:49 -0400
commit8e3d7dfa20b966b928078d8071d10fb186a0d781 (patch)
tree60a2a98dd6ae9148d1cf4b8d2f3ec53b9bab41c1 /files/etc
parent18e46bcafc2316c53d167cf6550fb69bd4e3be79 (diff)
downloadinfrastructure-8e3d7dfa20b966b928078d8071d10fb186a0d781.tar.gz
cleanup nfs1 host script
Diffstat (limited to 'files/etc')
-rw-r--r--files/etc/cron.d/poudriere.pkg_server1
-rw-r--r--files/etc/cron.d/zfs-trim.freebsd4
2 files changed, 2 insertions, 3 deletions
diff --git a/files/etc/cron.d/poudriere.pkg_server b/files/etc/cron.d/poudriere.pkg_server
new file mode 100644
index 0000000..57d9dac
--- /dev/null
+++ b/files/etc/cron.d/poudriere.pkg_server
@@ -0,0 +1 @@
+@weekly root lockf -t 0 /tmp/poudriere-cron.lock /usr/local/libexec/poudriere-cron $(echo "$poudriere_versions" | tr . _)
diff --git a/files/etc/cron.d/zfs-trim.freebsd b/files/etc/cron.d/zfs-trim.freebsd
index 64b07b9..80e0cd5 100644
--- a/files/etc/cron.d/zfs-trim.freebsd
+++ b/files/etc/cron.d/zfs-trim.freebsd
@@ -1,3 +1 @@
-SHELL=/bin/sh
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
-@weekly root zfs list -Ho name | xargs -r -n1 zpool trim
+@weekly root zpool list -Ho name | xargs -r -n1 zpool trim