diff options
Diffstat (limited to 'notmuch/.config/systemd')
-rw-r--r-- | notmuch/.config/systemd/user/notmuch.service | 8 | ||||
-rw-r--r-- | notmuch/.config/systemd/user/notmuch.timer | 10 |
2 files changed, 18 insertions, 0 deletions
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 |