fix(ppq): ppq service

This commit is contained in:
Matthieu Bessat 2024-08-12 15:06:23 +02:00
parent 0983d7c03d
commit c3aca0eaeb
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/sh
/usr/bin/gitwatch -r -R origin -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/$1
/usr/bin/gitwatch -r origin -R -s 300 -m "docs: update from {{ device_name }}" {{ home }}/notebooks/$1

View file

@ -4,7 +4,7 @@ Description=Sync popequer notebook with git
[Service]
# the buffer period in seconds 5min = 300s
Type=simple
ExecStart={{ home }}/.local/bin/gitwatch /%i
ExecStart={{ home }}/.local/bin/ppq_gitwatch %i
ExecStop=/bin/true
Restart=always
RestartSec=30