Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Jan 15, 2025
1 parent 0c01728 commit 08060dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,17 @@ $ cat << EOF > /etc/systemd/system/docker-autoheal.service
[Unit]
Description=Monitor docker health
After=docker.service
StartLimitIntervalSec=120
StartLimitBurst=3
[Service]
EnvironmentFile=/path/to/.env
ExecStart=/usr/bin/docker-autoheal \
--webhook-url "$SLACK_WEBHOOK" \
--webhook-key "msg" \
--lock-file "/path/to/rollout.lock"
Restart=on-failure
RestartSec=15s
[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit 08060dd

Please sign in to comment.