mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 19:53:46 +00:00
add openwrt package description
This commit is contained in:
@@ -14,6 +14,7 @@ stamp-h1
|
||||
*.json
|
||||
debian/shadowsocks.debhelper.log
|
||||
debian/shadowsocks/
|
||||
debian/patches/
|
||||
|
||||
# Do not edit the following section
|
||||
# Edit Compile Debug Document Distribute
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
|
||||
START=95
|
||||
STOP=95
|
||||
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
service_start /usr/bin/ss-local -c /etc/config/shadowsocks.json -f /var/run/shadowsocks.pid
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/bin/ss-local
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user