From ee63a3fc67861a708231e11f69fd9920378b071c Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sun, 7 Dec 2025 20:13:07 +0000 Subject: [PATCH] systemd: add bugwarrior sync timer service --- systemd/user/bugwarrior.service | 9 +++++++++ systemd/user/bugwarrior.timer | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 systemd/user/bugwarrior.service create mode 100644 systemd/user/bugwarrior.timer diff --git a/systemd/user/bugwarrior.service b/systemd/user/bugwarrior.service new file mode 100644 index 0000000..16bd947 --- /dev/null +++ b/systemd/user/bugwarrior.service @@ -0,0 +1,9 @@ +[Unit] +Description=Bugwarrior pull +After=network.target network-online.target dbus.socket + +[Service] +Type=oneshot +# do not log unit start/success messages +LogLevelMax=notice +ExecStart=/usr/bin/bugwarrior pull diff --git a/systemd/user/bugwarrior.timer b/systemd/user/bugwarrior.timer new file mode 100644 index 0000000..a606ad5 --- /dev/null +++ b/systemd/user/bugwarrior.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Bugwarrier pull timer + +[Timer] +OnBootSec=15min +OnUnitActiveSec=15min +RandomizedDelaySec=1min + +[Install] +WantedBy=timers.target -- 2.51.2