fix paths in systemd README

The right places to manually put systemd user units is:

* /etc/systemd/user if you want them to be available to all users,

* ${XDG_CONFIG_HOME}/systemd/user for a single user.

The upstream rationale is: user configuration goes to /etc/systemd or
$XDG_CONFIG_HOME/systemd, while package provided config goes to
/usr/lib/systemd or $XDG_DATA_HOME/systemd.

If offlineimap ever installs systemd units from the install scripts, it
should install them to /usr/lib/systemd/user.

Signed-off-by: Abdo Roig-Maranges <abdo.roig@gmail.com>
This commit is contained in:
Abdo Roig-Maranges 2015-03-25 12:15:44 +01:00
parent d4ea6da857
commit 478091f9ac

View File

@ -2,8 +2,8 @@ Systemd units
============= =============
These unit files are meant to be used in the user session. You may drop them These unit files are meant to be used in the user session. You may drop them
into `${XDG_DATA_HOME}/systemd/user` followed by `systemctl --user into `/etc/systemd/user` or `${XDG_CONFIG_HOME}/systemd/user` followed by
daemon-reload` to have systemd aware of the unit files. `systemctl --user daemon-reload` to have systemd aware of the unit files.
These files are meant to be triggered either manually using `systemctl --user These files are meant to be triggered either manually using `systemctl --user
start offlineimap.service` or by enabling the timer unit using `systemctl start offlineimap.service` or by enabling the timer unit using `systemctl