From b8406f36823bbd2b6e76da32be2530a4cca3c770 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 18 Jan 2022 16:49:21 +0100 Subject: added systemd units --- systemd/autonyaa.service | 9 +++++++++ systemd/autonyaa.timer | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 systemd/autonyaa.service create mode 100644 systemd/autonyaa.timer (limited to 'systemd') diff --git a/systemd/autonyaa.service b/systemd/autonyaa.service new file mode 100644 index 0000000..3389b9f --- /dev/null +++ b/systemd/autonyaa.service @@ -0,0 +1,9 @@ +[Unit] +Description=Autonyaa + +[Service] +Type=oneshot +ExecStart=/usr/bin/autonyaa/autonyaa.py + +[Install] +WantedBy=multi-user.target diff --git a/systemd/autonyaa.timer b/systemd/autonyaa.timer new file mode 100644 index 0000000..df030f2 --- /dev/null +++ b/systemd/autonyaa.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Autonyaa timer + +[Timer] +OnCalendar=*-*-* *:*/30:00 + +[Install] +WantedBy=timers.target -- cgit v1.2.3