git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/mio/systemd
diff options
context:
space:
mode:
authormail_redacted_for_web 2021-07-13 13:13:40 +0200
committermail_redacted_for_web 2021-07-13 13:13:40 +0200
commita84c6ee664c15481b92a84b50172c85d37c6191f (patch)
tree0ce08db84a2156daa5af48582e9b20ddbeec721a /ansible/mio/systemd
downloadlulz-a84c6ee664c15481b92a84b50172c85d37c6191f.tar.bz2
initiale überweisung diesdas
Diffstat (limited to 'ansible/mio/systemd')
-rw-r--r--ansible/mio/systemd/mio.service11
-rw-r--r--ansible/mio/systemd/mio.timer10
2 files changed, 21 insertions, 0 deletions
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