PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /opt/sharedrads/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //opt/sharedrads/autossl_runner.sh |
#!/bin/bash # The concept here is to kill an autossl proc that is taking longer than # 24 hours. My theory is that sometimes the proc will get stuck, never finish # and then cause autossl to never run properly. pgrep autossl_check | while read pid; do run_days=$(ps --no-headers -p $pid -o etime | awk '/[0-9]+\-/'); if [[ ! -z $run_days ]]; then proc_name=$(ps --no-headers -p $pid -o args); logger "Killing $pid, running for $run_days - $proc_name"; kill $pid; fi done