Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Restart on crash #318

Merged
merged 3 commits into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
- Cleanup stage added where systemd units without corresponding pods are
removed on startup ([#312]).

### Changed
- Restart agent on all crashes ([#318]).

[#312]: https://github.com/stackabletech/agent/pull/312
[#318]: https://github.com/stackabletech/agent/pull/318

## [0.6.1] - 2021-09-14

Expand Down
3 changes: 2 additions & 1 deletion packaging/debian/service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ After=network.target
[Service]
User=root
ExecStart=/opt/stackable/stackable-agent/stackable-agent
Restart=on-abort
Restart=on-failure
nightkr marked this conversation as resolved.
Show resolved Hide resolved
RestartSec=1s
StandardOutput=journal
StandardError=journal
Environment="CONFIG_FILE=/etc/stackable/stackable-agent/agent.conf"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ After=network.target
[Service]
User=root
ExecStart=/opt/stackable/stackable-agent/stackable-agent
Restart=on-abort
Restart=on-failure
RestartSec=1s
StandardOutput=journal
StandardError=journal
Environment="CONFIG_FILE=/etc/stackable/stackable-agent/agent.conf"
Expand Down