systemd: remove explicit `-c` argument

Removes the need for the non-existent xdg-env.service file and
offlineimap reads these files by default now anyways.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Ben Boeckel 2015-03-22 14:52:05 -04:00 committed by Nicolas Sebrecht
parent 2d14f005d7
commit 4f19927cee
2 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,9 @@
[Unit]
Description=Offlineimap Service
After=xdg-env.service
Requires=xdg-env.service
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o -c ${XDG_CONFIG_HOME}/offlineimap/offlineimaprc
ExecStart=/usr/bin/offlineimap -o
[Install]
WantedBy=mail.target

View File

@ -1,11 +1,9 @@
[Unit]
Description=Offlineimap Service for account %i
After=xdg-env.service
Requires=xdg-env.service
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o -a %i -c ${XDG_CONFIG_HOME}/offlineimap/offlineimaprc
ExecStart=/usr/bin/offlineimap -o -a %i
[Install]
WantedBy=mail.target