summaryrefslogtreecommitdiffstats
path: root/net-proxy/socks5/files/socks5.init
blob: d2fb9644a8e3009285f94e0bb8ff6b8c0cdae722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

depend() {
    need net
}

start() {
    ebegin "Starting socks5:"
    socks5
    eend $?
}

stop() {
    ebegin "Stopping socks5:"
    killall ${KILL_OPTS} socks5
    eend $?
}