Skip to content

Commit 727ac62

Browse files
author
brad
committed
up shadowsocks service
1 parent 98bffcf commit 727ac62

File tree

3 files changed

+7
-78
lines changed

3 files changed

+7
-78
lines changed

shadowsocks/Dockerfile

Lines changed: 0 additions & 70 deletions
This file was deleted.

shadowsocks/conf/config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"server": "0.0.0.0",
3+
"server_port": 8388,
4+
"password": "9iqu.cn",
5+
"method": "chacha20-ietf-poly1305",
6+
}

shadowsocks/shadowsocks.service

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@ TimeoutStartSec=0
1010
ExecStartPre=-/usr/bin/docker stop shadowsocks
1111
ExecStartPre=-/usr/bin/docker kill shadowsocks
1212
ExecStartPre=-/usr/bin/docker rm shadowsocks
13-
ExecStart=/usr/bin/docker run --name shadowsocks -p 8388:8388/tcp -p 8388:8388/udp wenshunbiao/shadowsocks ss-server -s "0.0.0.0" \
14-
-p "8388" \
15-
-k "password" \
16-
-m "chacha20-ietf-poly1305" \
17-
-t "60" \
18-
-d "8.8.8.8" \
19-
-u
20-
13+
ExecStart=/usr/bin/docker run --name shadowsocks -p 8388:8388/tcp -p 8388:8388/udp -v /home/core/data/shadowsocks/config.json:/etc/shadowsocks-rust/config.json ghcr.io/shadowsocks/ssserver-rust:latest
2114
ExecStop=/usr/bin/docker kill shadowsocks
2215

2316
[Install]

0 commit comments

Comments
 (0)