From 03ea6eafc8ea4eaaa98235c38a43e50e091298b9 Mon Sep 17 00:00:00 2001 From: Teo-CD Date: Mon, 20 May 2019 16:12:57 +0200 Subject: [PATCH] Premier jet timer update --- Perso/systemd_timers/gitUpdate.service | 7 +++++++ Perso/systemd_timers/gitUpdate.timer | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 Perso/systemd_timers/gitUpdate.service create mode 100644 Perso/systemd_timers/gitUpdate.timer diff --git a/Perso/systemd_timers/gitUpdate.service b/Perso/systemd_timers/gitUpdate.service new file mode 100644 index 0000000..a38072d --- /dev/null +++ b/Perso/systemd_timers/gitUpdate.service @@ -0,0 +1,7 @@ +[Unit] +Description=Updates git repos + +[Service] +Type=oneshot +User=intech +ExecStart=/bin/bash ~/git_repos/gitUpdate.sh "/home/intech/git_repos/TechTheTachyon-HighLevel.git" "/home/intech/git_repos/TechTheTachyon-LowLevel.git" \ No newline at end of file diff --git a/Perso/systemd_timers/gitUpdate.timer b/Perso/systemd_timers/gitUpdate.timer new file mode 100644 index 0000000..5110325 --- /dev/null +++ b/Perso/systemd_timers/gitUpdate.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Updates git repos + +[Timer] +OnBootSec=5min +OnUnitActiveSec=1min + +[Install] +WantedBy=timers.target