14 lines
270 B
Desktop File
14 lines
270 B
Desktop File
[Unit]
|
|
Description=Sync popequer notebook with git
|
|
|
|
[Service]
|
|
# the buffer period in seconds 5min = 300s
|
|
Type=simple
|
|
ExecStart=/usr/bin/gitwatch -r origin -s 300 {{ home }}/notebooks/%i
|
|
ExecStop=/bin/true
|
|
Restart=always
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|