-
Notifications
You must be signed in to change notification settings - Fork 320
Open
Description
I'm using transient units and properties to run units. The function call takes a dbus.Property
slice:
Line 191 in 7d375ec
func (c *Conn) StartTransientUnitContext(ctx context.Context, name string, mode string, properties []Property, ch chan<- string) (int, error) { |
I got it working to run a basic binary. But I'm trying to replicate this from a unit file:
Environment="ONE=one" 'TWO=two two'
ExecStart=echo $ONE $TWO ${TWO}
Es described in the docs. But unfortunately there is no PropEnvironment
in the debus properties file:
https://github.com/coreos/go-systemd/blob/main/dbus/properties.go#L37.
It would be great if that could be added.
Metadata
Metadata
Assignees
Labels
No labels