fix(ppq): attempt to fix gitwatch
This commit is contained in:
parent
f8d5db62cd
commit
cc8e75e591
3 changed files with 8 additions and 1 deletions
3
ansible/templates/scripts/gitwatch.sh
Normal file
3
ansible/templates/scripts/gitwatch.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
/usr/bin/gitwatch -r -R origin -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/$1
|
||||
|
|
@ -4,7 +4,7 @@ Description=Sync popequer notebook with git
|
|||
[Service]
|
||||
# the buffer period in seconds 5min = 300s
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/gitwatch -r -R origin -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/%i
|
||||
ExecStart={{ home }}/.local/bin/gitwatch /%i
|
||||
ExecStop=/bin/true
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue