Fix ss_local start issue. The launchctl load failed with "Path had bad ownership/permissions".

Add chmod 444 command for the plist file.  Remove plist write permission.
This commit is contained in:
Dig Para
2017-08-11 13:40:58 +08:00
parent fb46501ff4
commit dc44449046
3 changed files with 3 additions and 0 deletions

View File

@ -6,5 +6,6 @@
# Created by 王晨 on 16/10/7.
# Copyright © 2016年 zhfish. All rights reserved.
chmod 444 "$HOME/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.http.plist"
launchctl load "$HOME/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.http.plist"
launchctl start com.qiuyuzhou.shadowsocksX-NG.http