LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-unset-environment

Remove service manager environment variables

TLDR

Unset environment variable
$ systemctl unset-environment [VAR]
copy
Unset multiple variables
$ systemctl unset-environment [VAR1 VAR2 ...]
copy
Unset in user manager
$ systemctl unset-environment [VAR] --user
copy

SYNOPSIS

systemctl unset-environment VARIABLE...

DESCRIPTION

systemctl unset-environment removes environment variables from the systemd service manager's environment. This undoes the effect of `systemctl set-environment`.Services started after the unset will not receive the removed variables.

PARAMETERS

--user

Unset in user service manager environment
--system
Unset in system manager environment (default)

CAVEATS

Only affects services started after the change. Already running services keep their environment. Changes are temporary and lost on reboot.

HISTORY

The unset-environment subcommand complements `set-environment`, providing complete runtime control over the service manager's environment.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid