summaryrefslogtreecommitdiffstats
path: root/net-proxy/socks5/files/socks5.init
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-proxy/socks5/files/socks5.init
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-proxy/socks5/files/socks5.init')
-rw-r--r--net-proxy/socks5/files/socks5.init20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-proxy/socks5/files/socks5.init b/net-proxy/socks5/files/socks5.init
new file mode 100644
index 0000000..d2fb964
--- /dev/null
+++ b/net-proxy/socks5/files/socks5.init
@@ -0,0 +1,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 $?
+}