From 9fdcc28fe1f9dc6cc61a7a10824d735c53ee3560 Mon Sep 17 00:00:00 2001 From: utzer Date: Wed, 4 Apr 2018 14:51:51 +0530 Subject: [PATCH] systemd timer unit --- mods/sample-systemd.timer | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mods/sample-systemd.timer diff --git a/mods/sample-systemd.timer b/mods/sample-systemd.timer new file mode 100644 index 000000000..59f328ca9 --- /dev/null +++ b/mods/sample-systemd.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run Friendica Poller every n minutes + +[Timer] +OnBootSec=120 +OnUnitActiveSec=120 + +[Install] +WantedBy=timers.target