]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: read ~/.config/systemd/user.conf in user mode
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Feb 2021 09:56:04 +0000 (10:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 22 Feb 2021 09:03:07 +0000 (10:03 +0100)
commitf70e6fb471a4eeed8e2a4a7c608beabbb0aba8be
tree6800a167f4b0bd7ddc40e9bcd14c23e4f4f50891
parent8b8024f1c231c166f5c450905c8fd91d11704ae7
manager: read ~/.config/systemd/user.conf in user mode

This changes the paths we read user manager config from in two ways:

- split-usr-root paths are dropped. The user manager is a poster boy for
  non-early-boot, so reading dropins only from /usr is appropriate.

- we look at ~/.config/systemd/user.conf. Users should be allowed to override
  their own config.

As user managers become more and more used, it becomes more important for users
to customize their own daemon. By reading from ~/.config, this is possible
without privileges.
man/systemd-system.conf.xml
src/core/main.c