aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/systemd/user')
-rw-r--r--dot_config/systemd/user/protonmail-bridge.service14
-rw-r--r--dot_config/systemd/user/vdirsyncer.service.d/override.conf2
2 files changed, 14 insertions, 2 deletions
diff --git a/dot_config/systemd/user/protonmail-bridge.service b/dot_config/systemd/user/protonmail-bridge.service
new file mode 100644
index 0000000..5da14c5
--- /dev/null
+++ b/dot_config/systemd/user/protonmail-bridge.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=ProtonMail Bridge (headless IMAP/SMTP proxy)
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/protonmail-bridge --noninteractive
+Restart=on-failure
+RestartSec=10s
+Environment=PASSWORD_STORE_DIR=%h/.local/share/password-store
+
+[Install]
+WantedBy=graphical-session.target
diff --git a/dot_config/systemd/user/vdirsyncer.service.d/override.conf b/dot_config/systemd/user/vdirsyncer.service.d/override.conf
deleted file mode 100644
index 6bc6060..0000000
--- a/dot_config/systemd/user/vdirsyncer.service.d/override.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[Service]
-Environment="PASSWORD_STORE_DIR=%h/.local/share/password-store"