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]