summaryrefslogtreecommitdiffstats
path: root/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/systemd/user/getmail.service8
-rw-r--r--.config/systemd/user/getmail.timer10
-rw-r--r--.config/systemd/user/mbsync.service8
-rw-r--r--.config/systemd/user/mbsync.timer10
4 files changed, 36 insertions, 0 deletions
diff --git a/.config/systemd/user/getmail.service b/.config/systemd/user/getmail.service
new file mode 100644
index 0000000..4e91ef3
--- /dev/null
+++ b/.config/systemd/user/getmail.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=getmail service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/getmail
+StandardOutput=syslog
+StandardError=syslog
diff --git a/.config/systemd/user/getmail.timer b/.config/systemd/user/getmail.timer
new file mode 100644
index 0000000..7644d56
--- /dev/null
+++ b/.config/systemd/user/getmail.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=getmail timer
+
+[Timer]
+OnCalendar=*:0/30
+Persistent=true
+Unit=getmail.service
+
+[Install]
+WantedBy=timers.target
diff --git a/.config/systemd/user/mbsync.service b/.config/systemd/user/mbsync.service
new file mode 100644
index 0000000..e203ca6
--- /dev/null
+++ b/.config/systemd/user/mbsync.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=mbsync service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/mbsync -Va
+StandardOutput=syslog
+StandardError=syslog
diff --git a/.config/systemd/user/mbsync.timer b/.config/systemd/user/mbsync.timer
new file mode 100644
index 0000000..bbb8115
--- /dev/null
+++ b/.config/systemd/user/mbsync.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=mbsync timer
+
+[Timer]
+OnCalendar=*:0/15
+Persistent=true
+Unit=mbsync.service
+
+[Install]
+WantedBy=timers.target