1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=run monitor every 10s [Timer] # Time to wait after enable this unit OnActiveSec=1 # Time between running each consecutive time OnUnitActiveSec=10 Unit=monitor.service [Install] WantedBy=multi-user.target