11 lines
290 B
SYSTEMD
11 lines
290 B
SYSTEMD
[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
|