monakhos/ansible/templates/systemd/user/popequer_gitwatch@.service

14 lines
311 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 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/%i
ExecStop=/bin/true
Restart=always
RestartSec=30
[Install]
WantedBy=default.target