From c3aca0eaeb7fa47d71304051b8daf9ea250972c6 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Mon, 12 Aug 2024 15:06:23 +0200 Subject: [PATCH] fix(ppq): ppq service --- ansible/templates/scripts/gitwatch.sh | 2 +- ansible/templates/systemd/user/popequer_gitwatch@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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