~zeitgeist/zeitgeist/trunk-freedesktop

Viewing all changes in revision 803.

  • Committer: Henri Chain
  • Date: 2021-09-30 20:10:02 UTC
  • Revision ID: git-v1:c2168fce7c4e2e40d410a11555caf459d653c43e
Add PartOf= to all systemd units

The `PartOf` directive sets up a one-way dependency between
graphical-session.target` and our services, so that when
graphical-session.target` is stopped or restarted, our services also get
stopped or restarted.

This ensures that gvfs daemons that were started in the context of a GUI
login session (through dbus activation) do not continue to run after the
user has logged out.

See `systemd.unit(5)` for more info.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: