From 7b746b817faa6fbd65aa2fd815ad04c790bba1cb Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 3 Dec 2024 23:49:50 -0600 Subject: [PATCH] Add a Lintian timer/service --- systemd/lintian.service | 10 ++++++++++ systemd/lintian.timer | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 systemd/lintian.service create mode 100644 systemd/lintian.timer diff --git a/systemd/lintian.service b/systemd/lintian.service new file mode 100644 index 0000000..7a5ddea --- /dev/null +++ b/systemd/lintian.service @@ -0,0 +1,10 @@ +[Unit] +Description=Lintian +Wants=lintian.timer +After=network.target nginx.service + +[Service] +Type=simple +User=lugito +Group=lugito +ExecStart=/srv/lubuntu-ci/repos/ci-tools/lintian-ppa -u lubuntu-ci -p unstable-ci-proposed diff --git a/systemd/lintian.timer b/systemd/lintian.timer new file mode 100644 index 0000000..9551088 --- /dev/null +++ b/systemd/lintian.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Lintian timer + +[Timer] +OnBootSec=4min +OnUnitActiveSec=15min +Persistent=true + +[Install] +WantedBy=timers.target