Files
ShadowsocksX-NG/ShadowsocksX-NG/stop_privoxy.sh
Gino Zhao 0f050f6e44 remove keeplive key from plist, update shell script adding launchctl start/stop command
keeplive key  makes the services of shadowsocks-ng automatically start when logining system
Replace the original way with launchctl start/stop, then start the services when needed as shadowsocks-ng using
2017-05-11 13:52:07 +08:00

11 lines
275 B
Bash
Executable File

#!/bin/sh
# stop_privoxy.sh
# ShadowsocksX-NG
#
# Created by 王晨 on 16/10/7.
# Copyright © 2016年 zhfish. All rights reserved.
launchctl stop com.qiuyuzhou.shadowsocksX-NG.http
launchctl unload "$HOME/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.http.plist"