docker-offlineimap/contrib/systemd
Abdo Roig-Maranges 478091f9ac 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>
2015-03-25 15:30:00 +01:00
..
mail.target systemd: add documentation and a sample mail.target 2015-03-22 21:40:34 +01:00
offlineimap.service systemd: remove explicit -c argument 2015-03-22 21:40:20 +01:00
offlineimap.timer contrib: add systemd configuration files 2015-03-22 12:58:56 +01:00
offlineimap@.service systemd: remove explicit -c argument 2015-03-22 21:40:20 +01:00
offlineimap@.timer contrib: add systemd configuration files 2015-03-22 12:58:56 +01:00
README.md fix paths in systemd README 2015-03-25 15:30:00 +01:00

Systemd units

These unit files are meant to be used in the user session. You may drop them into /etc/systemd/user or ${XDG_CONFIG_HOME}/systemd/user followed by systemctl --user daemon-reload to have systemd aware of the unit files.

These files are meant to be triggered either manually using systemctl --user start offlineimap.service or by enabling the timer unit using systemctl --user enable offlineimap.timer. Additionally, specific accounts may be triggered by using offlineimap@myaccount.timer or offlineimap@myaccount.service.

These unit files are installed as being enabled via a mail.target unit which is intended to be a catch-all for mail-related unit files. A simple mail.target file is also provided.