Skip to content

Commit e835bed

Browse files
haircommanderopenshift-cherrypick-robot
authored andcommitted
systemd: use on-failure as restart policy
Signed-off-by: Peter Hunt <[email protected]>
1 parent 4bfe15a commit e835bed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/systemd/crio.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ LimitNPROC=1048576
2222
LimitCORE=infinity
2323
OOMScoreAdjust=-999
2424
TimeoutStartSec=0
25-
Restart=on-abnormal
25+
Restart=on-failure
26+
RestartSec=10
2627

2728
[Install]
2829
WantedBy=multi-user.target

0 commit comments

Comments
 (0)