From 0b305109b5e5d1996a817bba976ca85a7a7a652a Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 3 May 2017 10:00:31 -0400 Subject: Notmuch and afew configs Includes systemd user timer for running `notmuch new` every 5 minutes. --- notmuch/.config/systemd/user/notmuch.service | 8 ++++++++ notmuch/.config/systemd/user/notmuch.timer | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 notmuch/.config/systemd/user/notmuch.service create mode 100644 notmuch/.config/systemd/user/notmuch.timer (limited to 'notmuch/.config/systemd') diff --git a/notmuch/.config/systemd/user/notmuch.service b/notmuch/.config/systemd/user/notmuch.service new file mode 100644 index 0000000..bcff3a7 --- /dev/null +++ b/notmuch/.config/systemd/user/notmuch.service @@ -0,0 +1,8 @@ +[Unit] +Description=notmuch service + +[Service] +Type=oneshot +ExecStart=/usr/bin/notmuch new +StandardOutput=syslog +StandardError=syslog diff --git a/notmuch/.config/systemd/user/notmuch.timer b/notmuch/.config/systemd/user/notmuch.timer new file mode 100644 index 0000000..dc54f4c --- /dev/null +++ b/notmuch/.config/systemd/user/notmuch.timer @@ -0,0 +1,10 @@ +[Unit] +Description=notmuch timer + +[Timer] +OnCalendar=*:0/5 +Persistent=true +Unit=notmuch.service + +[Install] +WantedBy=timers.target -- cgit v1.2.3-60-g2f50