diff --git a/scripts/monitoring/docker-prune-watchdog.service b/scripts/monitoring/docker-prune-watchdog.service new file mode 100644 index 0000000..e22c86e --- /dev/null +++ b/scripts/monitoring/docker-prune-watchdog.service @@ -0,0 +1,14 @@ +[Unit] +Description=Docker System Prune Watchdog +After=docker.service +Wants=docker.service + +[Service] +Type=simple +Restart=always +RestartSec=10 +EnvironmentFile=-/etc/docker-prune-watchdog.env +ExecStart=/usr/local/bin/docker-prune-watchdog.sh start + +[Install] +WantedBy=multi-user.target