try man systemd-system.conf

and especially

DefaultEnvironment=


-Sietse


________________________________
From: systemd-devel <[email protected]> on behalf of 
deepan muthusamy <[email protected]>
Sent: Wednesday, September 12, 2018 15:16
To: Systemd
Subject: [systemd-devel] Permanent environment variable

How to set up environmental variable common for all system services.

For example,
If I set environment variable(Environment="variable=data") in mysystem.service 
file, it's scope is in that file only. I want that variable available to all 
service file. What should I do?
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to