From 09b0f1ae0a585e4870c464b1ff698f311fcdbe27 Mon Sep 17 00:00:00 2001 From: Kieran Collienne <20397647+kollienne@users.noreply.github.com> Date: Fri, 12 Apr 2024 05:00:03 -0700 Subject: [PATCH] fix sending all script arguments as arg 1 (#125) Co-authored-by: Kieran Collienne --- gitwatch@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitwatch@.service b/gitwatch@.service index c11afaf..b845052 100644 --- a/gitwatch@.service +++ b/gitwatch@.service @@ -3,7 +3,7 @@ Description=Watch file or directory and git commit all changes. run with: system [Service] Environment="SCRIPT_ARGS=%I" -ExecStart=/usr/local/bin/gitwatch ${SCRIPT_ARGS} +ExecStart=/usr/bin/bash -c "/usr/local/bin/gitwatch ${SCRIPT_ARGS}" ExecStop=/bin/true [Install]