Jump to content

Scheduled Docker Restarts?


thegizzard

Recommended Posts

I use User Scripts to restart my Sonarr Docker on specific errors in the log, You could modify this to work for Zoneminder

 

#!/bin/bash
#Check for error in Ombi log and restarts docker if found
docker logs --tail 50 sonarr 2>&1 | awk '/00000000/ {print | "docker restart sonarr"}'

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...