X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fkfreebsd%2Ffiles%2Fdsa-killruby;fp=modules%2Fkfreebsd%2Ffiles%2Fdsa-killruby;h=91c0a2f677c59de8d25c2ec3cf63dd04bb09d25c;hb=1cfe4f730d1cce934592db2c6bf7db3143686c62;hp=900283d673275e72dc65e088cf0a2efa2d1e2f58;hpb=14909da65ca410adb6f5743fc7a18410e7d8e700;p=dsa-puppet.git diff --git a/modules/kfreebsd/files/dsa-killruby b/modules/kfreebsd/files/dsa-killruby index 900283d6..91c0a2f6 100644 --- a/modules/kfreebsd/files/dsa-killruby +++ b/modules/kfreebsd/files/dsa-killruby @@ -7,4 +7,4 @@ # processes whose parent is init, and who have lived for longer than an hour # (if they lived for 10 hours then they get to live an hour longer because # the regex is just that gracious. -12 * * * * root pgrep -P 1 -f '/usr/bin/ruby1.8 /usr/sbin/puppetd --factsync -o --no-daemonize' | xargs ps --no-headers -o pid,etime | grep '[1-9]:..:..$' | awk '{print $1}' | xargs --no-run-if-empty kill -9 +12 * * * * root pgrep -P 1 -f '/usr/bin/ruby1.8 /usr/sbin/puppetd --factsync -o --no-daemonize' | xargs --no-run-if-empty ps --no-headers -o pid,etime | grep '[1-9]:..:..$' | awk '{print $1}' | xargs --no-run-if-empty kill -9