Re: Permanent environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try man systemd-system.conf


and especially

DefaultEnvironment=


-Sietse


________________________________
From: systemd-devel <systemd-devel-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of deepan muthusamy <deepan.m2903@xxxxxxxxx>
Sent: Wednesday, September 12, 2018 15:16
To: Systemd
Subject:  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
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux