Enable service explicitly requested to be restarted

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2023-08-31 09:43:39 +02:00 committed by Nicolas De loof
parent 1fdbcb6255
commit 32c3d0a3ff
5 changed files with 40 additions and 8 deletions

View file

@ -213,6 +213,8 @@ type RestartOptions struct {
Timeout *time.Duration
// Services passed in the command line to be restarted
Services []string
// NoDeps ignores services dependencies
NoDeps bool
}
// StopOptions group options of the Stop API