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]
|
[Unit]
|
||||||
Description=Offlineimap Service
|
Description=Offlineimap Service
|
||||||
After=xdg-env.service
|
|
||||||
Requires=xdg-env.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/offlineimap -o -c ${XDG_CONFIG_HOME}/offlineimap/offlineimaprc
|
ExecStart=/usr/bin/offlineimap -o
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mail.target
|
WantedBy=mail.target
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Offlineimap Service for account %i
|
Description=Offlineimap Service for account %i
|
||||||
After=xdg-env.service
|
|
||||||
Requires=xdg-env.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/offlineimap -o -a %i -c ${XDG_CONFIG_HOME}/offlineimap/offlineimaprc
|
ExecStart=/usr/bin/offlineimap -o -a %i
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mail.target
|
WantedBy=mail.target
|
||||||
|
Loading…
Reference in New Issue
Block a user