lib/sd-activation: wrap coreos/go-systemd

It fails to build on plan9, which is part of the rclone CI matrix, and
the PR fixing it upstream doesn't seem to be getting traction.

Stub it on our side, we can still remove this once it gets merged.
This commit is contained in:
Florian Klink
2024-05-13 21:13:10 +02:00
committed by Nick Craig-Wood
parent 156feff9f2
commit e3b09211b8
4 changed files with 50 additions and 2 deletions

View File

@ -17,11 +17,11 @@ import (
"sync"
"time"
sdActivation "github.com/coreos/go-systemd/v22/activation"
"github.com/go-chi/chi/v5"
"github.com/rclone/rclone/fs"
"github.com/rclone/rclone/fs/config/flags"
"github.com/rclone/rclone/lib/atexit"
sdActivation "github.com/rclone/rclone/lib/sdactivation"
"github.com/spf13/pflag"
)