Browse Source

RemainAfterElapse=False

> if RemainAfterElapse= is off, it might be started again if it is already elapsed, and thus be triggered multiple times
False will start the process again and again after the set time, this is the desired behavior for worker.php

Infos: https://www.freedesktop.org/software/systemd/man/systemd.timer.html
tags/2018.05
utzer 2 years ago
committed by GitHub
parent
commit
a4f469d187
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mods/sample-systemd.timer

+ 1
- 0
mods/sample-systemd.timer View File

@@ -4,6 +4,7 @@ Description=Run Friendica Poller every n minutes
[Timer]
OnBootSec=120
OnUnitActiveSec=120
RemainAfterElapse=False

[Install]
WantedBy=timers.target

Loading…
Cancel
Save