mirror of
https://github.com/containers/podman.git
synced 2025-07-30 20:02:37 +08:00

Caller will just log the error which is confusing for the user. This matches the linux non-systemd behaviour. It would be nice to have timer support for healthcheck on FreeBSD but the only pre-installed timer option is at which probably isn't a good fit here. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
25 lines
539 B
Go
25 lines
539 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// createTimer systemd timers for healthchecks of a container
|
|
func (c *Container) createTimer(interval string, isStartup bool) error {
|
|
return nil
|
|
}
|
|
|
|
// startTimer starts a systemd timer for the healthchecks
|
|
func (c *Container) startTimer(isStartup bool) error {
|
|
return nil
|
|
}
|
|
|
|
// removeTransientFiles removes the systemd timer and unit files
|
|
// for the container
|
|
func (c *Container) removeTransientFiles(ctx context.Context, isStartup bool) error {
|
|
return nil
|
|
}
|