Is there any way I could run a systemd service that refers some user's environment variables? The same variable that are already included in .bashrc for example.

Have found these three ways of adding environment variables but none of them mentions about executing services in particular user context.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.