Files
dotfiles/dot_config/systemd/user/projects-sync.timer
T

11 lines
290 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Keep ~/Projects in sync with ~/Code
# ponytail: polls every 5 min; ghq clones land two levels below ~/Code, out
# of reach of a non-recursive .path unit. Switch to inotify if 5 min is slow.
[Timer]
OnStartupSec=30s
OnUnitActiveSec=5min
[Install]
WantedBy=timers.target