diff --git a/ansible/templates/scripts/gitwatch.sh b/ansible/templates/scripts/gitwatch.sh index 33f0cde..21fe761 100644 --- a/ansible/templates/scripts/gitwatch.sh +++ b/ansible/templates/scripts/gitwatch.sh @@ -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 diff --git a/ansible/templates/systemd/user/popequer_gitwatch@.service b/ansible/templates/systemd/user/popequer_gitwatch@.service index 1929673..a02c8a0 100644 --- a/ansible/templates/systemd/user/popequer_gitwatch@.service +++ b/ansible/templates/systemd/user/popequer_gitwatch@.service @@ -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