2024-05-30 16:28:31 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Sync popequer notebook with git
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
# the buffer period in seconds 5min = 300s
|
|
|
|
Type=simple
|
2024-07-08 15:34:50 +00:00
|
|
|
ExecStart=/usr/bin/gitwatch -r origin -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/%i
|
2024-05-30 16:28:31 +00:00
|
|
|
ExecStop=/bin/true
|
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|
|
|
|
|