mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix: add restart_again flag to DesiredStatus::Restarting
When a restart is requested while the service is already restarting (stopped but not yet started), set restart_again so the actor will perform another stop→start cycle after the current one completes.
This commit is contained in:
@@ -1289,7 +1289,7 @@ export class MockApiService extends ApiService {
|
||||
op: PatchOp.REPLACE,
|
||||
path,
|
||||
value: {
|
||||
desired: { main: 'restarting' },
|
||||
desired: { main: 'restarting', restartAgain: false },
|
||||
started: null,
|
||||
error: null,
|
||||
health: {},
|
||||
|
||||
Reference in New Issue
Block a user