summaryrefslogtreecommitdiffstatshomepage
path: root/mbsync/.config/systemd/user/mbsync@.service
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-10-12 15:21:22 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-10-12 15:21:22 -0500
commit38b8fd29a6ce554f666db5a47517d1a5308136ca (patch)
treed3e68192ffffa7af421dddcb8cac2661c860390b /mbsync/.config/systemd/user/mbsync@.service
parent40468910b8a726b4b3329ce19a1863037357a02d (diff)
feat(mail): improved services and install scripts
Diffstat (limited to 'mbsync/.config/systemd/user/mbsync@.service')
-rw-r--r--mbsync/.config/systemd/user/mbsync@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/mbsync/.config/systemd/user/mbsync@.service b/mbsync/.config/systemd/user/mbsync@.service
new file mode 100644
index 0000000..4089c04
--- /dev/null
+++ b/mbsync/.config/systemd/user/mbsync@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Mailbox synchronization service
+Documentation=man:mbsync(1)
+Wants=network-online.target
+Requires=gpg-agent.socket
+After=network-online.target gpg-agent.socket network.target dbus.socket
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/mbsync -Vc ${XDG_CONFIG_HOME}/mbsync/mbsyncrc %i
+
+[Install]
+WantedBy=default.target