8000 stage1/init/units: keep journald running while apps are shutting down by fabiokung · Pull Request #3726 · rkt/rkt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

stage1/init/units: keep journald running while apps are shutting down #3726

Merged
merged 1 commit into from
Jun 26, 2017
Merged
Changes from all 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
1 change: 1 addition & 0 deletions stage1/init/common/units.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func ImmutableEnv(p *stage1commontypes.Pod) error {
}

uw.AppUnit(ra, binPath,
unit.NewUnitOption("Unit", "After", "systemd-journald.service"),
// When an app fails, we shut down the pod
unit.NewUnitOption("Unit", "OnFailure", "halt.target"))

Expand Down
0