mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
Add restart-sec option to systemd generate
Signed-off-by: Ondra Machacek <omachace@redhat.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user