Skip to content

Commit 7730264

Browse files
author
Aspirin Geyer
committed
Patch: Update PKGBUILD, add config.json.
1 parent dbc65cf commit 7730264

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

PKGBUILD

+3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ source=('git+https://github.com/shadowsocksrr/shadowsocksr-libev.git'
1515
1616
1717
18+
config.json
1819
)
1920
sha1sums=('SKIP'
2021
'SKIP'
2122
'SKIP'
2223
'SKIP'
24+
'SKIP'
2325
'SKIP')
2426

2527

@@ -43,5 +45,6 @@ package() {
4345
install -Dm644 "$srcdir/[email protected]" "$pkgdir/usr/lib/systemd/system/[email protected]"
4446
install -Dm644 "$srcdir/[email protected]" "$pkgdir/usr/lib/systemd/system/[email protected]"
4547
install -Dm644 "$srcdir/[email protected]" "$pkgdir/usr/lib/systemd/system/[email protected]"
48+
install -Dm644 "$srcdir/config.json" "$pkgdir/etc/shadowsocksr/config.json"
4649
}
4750

config.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"server": "45.35.119.145",
3+
"server_ipv6": "::",
4+
"server_port": 443,
5+
"local_address": "127.0.0.1",
6+
"local_port": 1081,
7+
"password": "VH19bTdfR3I",
8+
"timeout": 120,
9+
"udp_timeout": 60,
10+
"method": "none",
11+
"protocol": "auth_chain_a",
12+
"protocol_param": "",
13+
"obfs": "tls1.2_ticket_auth",
14+
"obfs_param": "bing.com",
15+
"fast_open": false,
16+
"workers": 1
17+
}

0 commit comments

Comments
 (0)