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
This commit is contained in:
Gino Zhao
2017-05-11 13:52:07 +08:00
parent 55971b4c05
commit 0f050f6e44
7 changed files with 8 additions and 9 deletions

View File

@ -6,4 +6,5 @@
# Created by 邱宇舟 on 2017/1/11.
# Copyright © 2017年 qiuyuzhou. All rights reserved.
launchctl stop com.qiuyuzhou.shadowsocksX-NG.kcptun
launchctl unload "$HOME/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.kcptun.plist"