Last active
February 26, 2020 07:41
-
-
Save lewangdev/e2db85a0e7c2626b80509a92730fd351 to your computer and use it in GitHub Desktop.
launch-gost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load | |
launchctl load -w ~/Library/LaunchAgents/gost.plist | |
# Unload | |
launchctl unload -w ~/Library/LaunchAgents/gost.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Retries": 1, | |
"Debug": false, | |
"ServeNodes": [ | |
"ss://chacha20:[email protected]:1998" | |
], | |
"ChainNodes": [ | |
"https://admin:[email protected]:8443" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>gost.plist</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/gost/bin/gost</string> | |
<string>-C</string> | |
<string>/opt/gost/etc/gost.json</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>WorkingDirectory</key> | |
<string>/opt/gost</string> | |
<key>StandardErrorPath</key> | |
<string>/opt/gost/log/gost.log</string> | |
<key>StandardOutPath</key> | |
<string>/opt/gost/log/gost.log</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment