pub fn run_hook(
kind: &str,
service: &str,
script: &Path,
service_home: &Path,
) -> Result<()>Expand description
Run a pre/post backup or restore hook with the service’s .env
loaded, mirroring how quadlet ExecStartPre/Post scripts see it.