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

15 lines
314 B
SYSTEMD
Raw Normal View History

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