aboutsummaryrefslogtreecommitdiff
path: root/SystemD/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'SystemD/.config/systemd')
-rw-r--r--SystemD/.config/systemd/user/mail.service3
-rw-r--r--SystemD/.config/systemd/user/mail.timer4
2 files changed, 5 insertions, 2 deletions
diff --git a/SystemD/.config/systemd/user/mail.service b/SystemD/.config/systemd/user/mail.service
index 16d87c5..d096a6f 100644
--- a/SystemD/.config/systemd/user/mail.service
+++ b/SystemD/.config/systemd/user/mail.service
@@ -4,3 +4,6 @@ Description=Syncing mail using mbsyncrc
[Service]
Type=simple
ExecStart=%h/.local/scripts/mail_fetch
+
+[Install]
+WantedBy=default.target
diff --git a/SystemD/.config/systemd/user/mail.timer b/SystemD/.config/systemd/user/mail.timer
index 0d1b970..b166cba 100644
--- a/SystemD/.config/systemd/user/mail.timer
+++ b/SystemD/.config/systemd/user/mail.timer
@@ -1,9 +1,9 @@
[Unit]
-Description=Run mail sync every 3 hours
+Description=Run mail sync every hour
[Timer]
OnBootSec=1min
-OnUnitActiveSec=10800
+OnUnitActiveSec=3600
Unit=mail.service
[Install]