summaryrefslogtreecommitdiffstats
path: root/.config/systemd
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-04-12 23:19:09 -0400
committerAmin Bandali <bandali@gnu.org>2019-04-13 00:34:11 -0400
commitec80f07afe6f0985de1aff4d321292c93b3cb4ef (patch)
tree13cf1938bac9c10aeb7ab56b13384b4dde586f2a /.config/systemd
parent44b93a2077e666cd1c437ab513a7d2160d750d11 (diff)
downloadconfigs-ec80f07afe6f0985de1aff4d321292c93b3cb4ef.tar.gz
configs-ec80f07afe6f0985de1aff4d321292c93b3cb4ef.tar.xz
configs-ec80f07afe6f0985de1aff4d321292c93b3cb4ef.zip
configs: pull current configs out of rc.org & clean up
fontconfig: pull out of rc.org getmail: pull out of rc.org gnupg: pull out of rc.org git: pull out of rc.org i3status: pull out of rc.org latexmk: pull out of rc.org mbsync: pull out of rc.org msmtp: pull out of rc.org rofi{,-pass}: pull out of rc.org sway{,lock}: pull out of rc.org xdg: pull out of rc.org xresources: pull out of rc.org zathura: pull out of rc.org {compton,dunst,notmuch}: remove configs {toggle-layout,unlock-def-gk.py,wp,Fun}: remove scripts
Diffstat (limited to '.config/systemd')
-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