]> git.mxchange.org Git - friendica.git/commitdiff
systemd timer unit
authorutzer <r@schmitz.pro>
Wed, 4 Apr 2018 09:21:51 +0000 (14:51 +0530)
committerGitHub <noreply@github.com>
Wed, 4 Apr 2018 09:21:51 +0000 (14:51 +0530)
mods/sample-systemd.timer [new file with mode: 0644]

diff --git a/mods/sample-systemd.timer b/mods/sample-systemd.timer
new file mode 100644 (file)
index 0000000..59f328c
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run Friendica Poller every n minutes
+
+[Timer]
+OnBootSec=120
+OnUnitActiveSec=120
+
+[Install]
+WantedBy=timers.target