computer-playbook/roles/native-docker-health-check/files/docker-health-check.service

8 lines
189 B
SYSTEMD
Raw Normal View History

2022-12-25 13:40:38 +01:00
[Unit]
Description=Check docker status
OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash /home/administrator/scripts/docker-health-check/docker-health-check.sh