From 2eec9bfbb2828c208495cb8768d87bb9d3db7904 Mon Sep 17 00:00:00 2001 From: hesk <24hesk@gmail.com> Date: Tue, 8 Dec 2020 22:48:52 +0100 Subject: [PATCH] Example launchd script --- com.github.gitwatch.plist | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 com.github.gitwatch.plist diff --git a/com.github.gitwatch.plist b/com.github.gitwatch.plist new file mode 100644 index 0000000..65230e3 --- /dev/null +++ b/com.github.gitwatch.plist @@ -0,0 +1,34 @@ + + + + + Label + com.github.gitwatch + ProgramArguments + + /usr/local/bin/gitwatch.sh + -s + 60 + -m + Auto-commit %d + /path/to/watch + + RunAtLoad + + EnvironmentVariables + + GW_GIT_BIN + /usr/local/bin/git + GW_INW_BIN + /usr/local/bin/fswatch + GW_RL_BIN + /usr/local/bin/greadlink + + + +