Merge lp:~ballot/charms/xenial/daisy-retracer/lp1845257 into lp:~daisy-pluckers/charms/xenial/daisy-retracer/trunk
Proposed by
Benjamin Allot
Status: | Rejected | ||||||||
---|---|---|---|---|---|---|---|---|---|
Rejected by: | Brian Murray | ||||||||
Proposed branch: | lp:~ballot/charms/xenial/daisy-retracer/lp1845257 | ||||||||
Merge into: | lp:~daisy-pluckers/charms/xenial/daisy-retracer/trunk | ||||||||
Diff against target: |
18 lines (+2/-1) 1 file modified
hooks/common (+2/-1) |
||||||||
To merge this branch: | bzr merge lp:~ballot/charms/xenial/daisy-retracer/lp1845257 | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray | Disapprove | ||
Junien F | Approve | ||
Review via email: mp+382547@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 206. By Benjamin Allot
-
Add RestartSec directive and increase StartLimitBurst
The rationale behind this change is that the default RestartSec is 100ms.
Upon error of the service (because of a crash or whatever), it attempts to restart
very quickly 5 times, then stay in a failed state until manually restarted.As seen in systemd.unit manual for the StartLimitBurst setting:
Note that units which are configured for Restart= and which reach the start limit
are not attempted to be restarted anymore;The new limit try one restart every 10 seconds and the StartLimitInterval is set to
StartLimitBurst * RestartSec to avoid reaching this state.
+1