Skip to content

Commit

Permalink
Set service restart condition to on-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeephb authored and esunar committed Mar 29, 2023
1 parent 7fa42e4 commit 49edda8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ confinement: strict
apps:
prometheus-juju-exporter:
daemon: simple
restart-condition: on-abnormal
restart-condition: on-failure
restart-delay: 30s
command: bin/prometheus-juju-exporter
plugs: [network, network-bind]
environment:
Expand Down

0 comments on commit 49edda8

Please sign in to comment.