Skip to content

Commit

Permalink
Add restart on failure to agent service
Browse files Browse the repository at this point in the history
Signed-off-by: Ondra Machacek <[email protected]>
  • Loading branch information
machacekondra committed Nov 26, 2024
1 parent fefc2ad commit 11fb129
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/ignition.template
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ storage:
Network=host
UserNS=keep-id:uid=1001

[Service]
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target default.target
- path: /home/core/.config/containers/systemd/planner-agent-opa.container
Expand Down

0 comments on commit 11fb129

Please sign in to comment.