Skip to content

Commit 5029b61

Browse files
committed
fix systemd units
1 parent 3ee03d7 commit 5029b61

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

systemd/user/bor-resync.service

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[Unit]
22
Description=Timed resync
3+
After=bor.service
4+
Wants=bor-resync.timer
5+
BindsTo=bor.service
36

47
[Service]
58
Type=oneshot

systemd/user/bor-resync.timer

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ BindsTo=bor.service
44

55
[Timer]
66
OnActiveSec=1h
7+
OnUnitActiveSec=1h
78

89
# vim: ft=systemd

0 commit comments

Comments
 (0)