[Unit] Description=Run system-monitor textfile producer %i [Timer] # OnUnitActiveSec alone has no base until the service has run once in this boot, and an # already-elapsed OnBootSec is not re-armed for a timer started later — a timer enabled # after boot then shows NextElapseUSecMonotonic=infinity and never fires. OnActiveSec is # based on the timer's own activation, so every start arms the chain. OnActiveSec=30s OnBootSec=30s OnUnitActiveSec=1m AccuracySec=5s Persistent=true Unit=node-textfile@%i.service [Install] WantedBy=timers.target