aboutsummaryrefslogtreecommitdiff
path: root/etc/private/install/brep-load.timer
blob: 1bf78c4f1673e0383de14579f4add3c20ce57c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[Unit]
Description=brep repository loader timer
RefuseManualStart=no
RefuseManualStop=no

# Note that due to brep-startup service's oneshot type, this unit won't be
# started until the brep-startup process exits successfully.
#
# Also note that if brep-startup fails and is restarted manually, similar to
# services, the timer is not started automatically. Instead, it has to be
# started manually with `systemctl start brep-load.timer`.
#
Requires=brep-startup.service
After=brep-startup.service

[Timer]
Unit=brep-load.service

# Don't keep track of the timer across reboots.
#
Persistent=false

# Start the timer for the first time.
#
OnBootSec=1

# Then wait 4-5 seconds until the next run.
#
OnUnitInactiveSec=4
AccuracySec=1

[Install]
WantedBy=timers.target