fix(ppq): pull before push in gitwatch

This commit is contained in:
Matthieu Bessat 2024-07-11 09:39:50 +02:00
parent 92d09778f0
commit 8945449613

View file

@ -4,7 +4,7 @@ Description=Sync popequer notebook with git
[Service] [Service]
# the buffer period in seconds 5min = 300s # the buffer period in seconds 5min = 300s
Type=simple Type=simple
ExecStart=/usr/bin/gitwatch -r origin -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/%i ExecStart=/usr/bin/gitwatch -r -R origin -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/%i
ExecStop=/bin/true ExecStop=/bin/true
Restart=always Restart=always
RestartSec=30 RestartSec=30