mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
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.
9 lines
331 B
TypeScript
9 lines
331 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { StartStop } from './StartStop'
|
|
|
|
export type DesiredStatus =
|
|
| { main: 'stopped' }
|
|
| { main: 'restarting'; restartAgain: boolean }
|
|
| { main: 'running' }
|
|
| { main: 'backing-up'; onComplete: StartStop }
|