From a84c6ee664c15481b92a84b50172c85d37c6191f Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Tue, 13 Jul 2021 13:13:40 +0200 Subject: initiale überweisung diesdas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/mio/systemd/mio.service | 11 +++++++++++ ansible/mio/systemd/mio.timer | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 ansible/mio/systemd/mio.service create mode 100644 ansible/mio/systemd/mio.timer (limited to 'ansible/mio/systemd') diff --git a/ansible/mio/systemd/mio.service b/ansible/mio/systemd/mio.service new file mode 100644 index 0000000..4cee4e9 --- /dev/null +++ b/ansible/mio/systemd/mio.service @@ -0,0 +1,11 @@ +[Unit] +Description=Alder Snake de Nävigän vum Eastsides Gewächs +After=network.target dbus.target +Wants=network-online.target + +[Service] +Type = oneshot +RemainAfterExit = no +ExecStart = /usr/local/bin/mio +User=mio +Group=mio diff --git a/ansible/mio/systemd/mio.timer b/ansible/mio/systemd/mio.timer new file mode 100644 index 0000000..66c8ae0 --- /dev/null +++ b/ansible/mio/systemd/mio.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Alder Snake de Nävigän vum Eastsides Gewächs +Wants=network-online.target + +[Timer] +OnCalendar=Mon,Tue,Wed,Thu,Fri 07..18:00:00 +RandomizedDelaySec=900 + +[Install] +WantedBy=timers.target -- cgit v1.2.3