A system administrator is configuring a systemd timer unit to start a backup service exactly 10 minutes after the system has finished booting. Which line should be included in the [Timer] section of the timer unit file?
The 'OnBootSec=10min' directive is the correct answer. It specifies the timer should wait for 10 minutes after the system has booted before activating the associated unit. The directive is part of the timer specification in systemd and is used to delay the start of a service relative to system boot time. Other directives like 'OnUnitActiveSec' and 'OnUnitInactiveSec' are related to the activation times based on when the unit was last activated or became inactive and are not related to the boot process, making them incorrect in this context.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is systemd and why is it important in Linux?
Open an interactive chat with Bash
Can you explain the purpose of the Timer Unit in systemd?
Open an interactive chat with Bash
What do the other directives (like OnUnitActiveSec and OnCalendar) do in systemd timer units?