Add restart-sec option to systemd generate

Signed-off-by: Ondra Machacek <omachace@redhat.com>
This commit is contained in:
Ondra Machacek
2021-12-02 13:44:35 +01:00
parent a6d1220ac0
commit c9ad1da51c
11 changed files with 110 additions and 0 deletions

View File

@@ -67,6 +67,11 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error {
// type: string
// default: "-"
// description: Systemd unit name separator between name/id and prefix.
// - in: query
// name: restartSec
// type: integer
// default: 0
// description: Configures the time to sleep before restarting a service.
// produces:
// - application/json
// responses: