try man systemd-system.conf
and especially
DefaultEnvironment=
-Sietse
From: systemd-devel on behalf of
deepan muthusamy
Sent: Wednesday, September 12, 2018 15:16
To: Systemd
Subject: [systemd-devel] Permanent environment variable
How to set up
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?