From: utzer Date: Wed, 4 Apr 2018 09:21:51 +0000 (+0530) Subject: systemd timer unit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9fdcc28fe1f9dc6cc61a7a10824d735c53ee3560;p=friendica.git systemd timer unit --- diff --git a/mods/sample-systemd.timer b/mods/sample-systemd.timer new file mode 100644 index 0000000000..59f328ca95 --- /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