From 5462e5ba284118f7377afcdd3066c7f61c610bcc Mon Sep 17 00:00:00 2001 From: "Y. T. Chung" Date: Fri, 21 Oct 2016 01:20:21 +0800 Subject: [PATCH] add sample configs --- configs/com.zonyitoo.shadowsocks-rust.plist | 42 +++++++++++++++++++++ rustfmt.toml | 1 + 2 files changed, 43 insertions(+) create mode 100644 configs/com.zonyitoo.shadowsocks-rust.plist create mode 100644 rustfmt.toml diff --git a/configs/com.zonyitoo.shadowsocks-rust.plist b/configs/com.zonyitoo.shadowsocks-rust.plist new file mode 100644 index 00000000..c88a2d34 --- /dev/null +++ b/configs/com.zonyitoo.shadowsocks-rust.plist @@ -0,0 +1,42 @@ + + + + + Disabled + + + Label + com.zonyitoo.shadowsocks-rust + + ProgramArguments + + /usr/local/bin/sslocal + -c + /usr/local/etc/shadowsocks.json + + + RunAtLoad + + + KeepAlive + + NetworkState + + + + WorkingDirectory + / + + StandardErrorPath + /tmp/shadowsocks-rust.stderr.log + + StandardOutPath + /tmp/shadowsocks-rust.stdout.log + + SoftResourceLimits + + NumberOfFiles + 10240 + + + diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 00000000..75306517 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +max_width = 120