diff --git a/README.md b/README.md index f026f77..41ad1a7 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,9 @@ Options: -V, --version Print version ``` -`ra-multiplex server` can run as a systemd user service, see the example `ra-mux.service`. +`ra-multiplex server` can run as a system user service: +* On `systemd` available systems see the example `ra-mux.service`. +* On `OSX Launchd` systems see the example `ra-mux.plist` Configure your editor to use `ra-multiplex` as `rust-analyzer`, for example for CoC in neovim edit `~/.config/nvim/coc-settings.json`, add: diff --git a/ra-mux.plist b/ra-mux.plist new file mode 100644 index 0000000..6400d35 --- /dev/null +++ b/ra-mux.plist @@ -0,0 +1,27 @@ + + + + + Label + com.github.ra-multiplex + ProgramArguments + + [PATH_TO_BIN] + server + + EnvironmentVariables + + PATH + [HOME]/.cargo/bin + + StandardOutPath + /tmp/ra-multiplex.log + StandardErrorPath + /tmp/ra-multiplex.log + KeepAlive + + UserName + [USERNAME] + + +