[systemd-devel] Permanent environment variable
Sietse van Zanen
sietse at wizdom.nu
Wed Sep 12 13:20:54 UTC 2018
try man systemd-system.conf
and especially
DefaultEnvironment=
-Sietse
________________________________
From: systemd-devel <systemd-devel-bounces at lists.freedesktop.org> on behalf of deepan muthusamy <deepan.m2903 at gmail.com>
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?
More information about the systemd-devel
mailing list