Hi,

I'm wondering if there is a way to inject/import environment variables in to a 
shepherd session, akin to `systemctl import-environment' (of systemd) ?

One application that I miss from systemd times is, having user services managed 
by a service manager, and yet able to interact with desktop environment, so I 
would run `systemctl import-environment DISPLAY WAYLAND_DISPLAY ...' in my sway 
(or equivalent desktop environment's rc file), and then start the services with 
'systemctl --user start $service', and then systemd manages them.

Any ideas anyone, esp. without having to hardcode the values of the environment 
variables in the service definitions.

Thanks!
--
Abbé

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to