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:
parent
2d14f005d7
commit
4f19927cee
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user