It's a type of Planche
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839
  1. [Unit]
  2. Description=Run A Service on a Timer
  3. [Timer]
  4. #OnActiveSec=
  5. OnBootSec=5m
  6. #OnStartupSec=
  7. OnUnitActiveSec=1h
  8. #OnUnitInactiveSec=
  9. # OnCalendar Valid Time Specs
  10. # https://www.freedesktop.org/software/systemd/man/systemd.time.html#
  11. #OnCalendar=
  12. # Delay the timer by a randomly selected, evenly distributed
  13. # amount of time between 0 and the specified time value.
  14. #RandomizedDelaySec=
  15. Unit=service_to_start.service
  16. # If true, the time when the service unit was last triggered
  17. # is stored on disk. When the timer is activated, the service
  18. # unit is triggered immediately if it would have been
  19. # triggered at least once during the time when the timer was
  20. # inactive. This is useful to catch up on missed runs of the
  21. # service when the machine was off. Note that this setting only
  22. # has an effect on timers configured with OnCalendar=.
  23. #Persistent=false
  24. # If true, an elapsing timer will cause the system to resume
  25. # from suspend, should it be suspended and if the system
  26. # supports this. Note that this option will only make sure the
  27. # system resumes on the appropriate times, it will not take
  28. # care of suspending it again after any work that is to be
  29. # done is finished.
  30. #WakeSystem=false
  31. [Install]
  32. WantedBy=timers.target