Kevinator

AutoRestart_Containers

May 1st, 2023
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | Source Code | 0 0
  1. #!/bin/bash
  2.  
  3. # Variables #
  4. logname="Restart_Arrs_Log.txt"
  5.  
  6. date >> $logname
  7. echo "---------" >> $logname
  8.  
  9. # Restart Scripts
  10. /usr/bin/docker container restart qbittorrent >> $logname
  11. /usr/bin/docker container restart overseerr >> $logname
  12. /usr/bin/docker container restart prowlarr >> $logname
  13. /usr/bin/docker container restart lidarr >> $logname
  14. /usr/bin/docker container restart radarr >> $logname
  15. /usr/bin/docker container restart sonarr >> $logname
  16. /usr/bin/docker container restart bazarr >> $logname
  17. echo "=================================" >> $logname
Add Comment
Please, Sign In to add comment