website-doc.sh: include user contributions

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2015-03-25 20:09:59 +01:00
parent 1708fd09d1
commit aec5430457
4 changed files with 53 additions and 29 deletions

View File

@ -93,12 +93,8 @@ function edit_file () {
function fix_pwd () {
debug 'in fix_pwd'
if test ! -d .git -a ! -f offlineimap.py
then
test "$PWD" = '/' && die 2 "You're not in the offlineimap repository..."
cd ..
fix_pwd
fi
cd "$(git rev-parse --show-toplevel)" || \
die 2 "cannot determine the root of the repository"
}

View File

@ -1,16 +1,17 @@
Systemd units
=============
---
layout: page
title: Integrating OfflineIMAP into systemd
author: Ben Boeckel
date: 2015-03-22
---
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
daemon-reload` to have systemd aware of the unit files.
<!-- This file is copied to the website by script. -->
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.
## Systemd units
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 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.