summaryrefslogtreecommitdiff
path: root/net-proxy/microsocks/files/microsocks.initd
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-08-05 14:15:22 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-08-05 14:15:22 -0700
commit90938bfdf79a99184d64f004acaf30f69afe1a12 (patch)
tree595686cfe4da663e805c497e5686a538f8defe65 /net-proxy/microsocks/files/microsocks.initd
parentdfe2412fd89b3abd9efc1755bfc0c1939bbce9d6 (diff)
downloadgentoo-90938bfdf79a99184d64f004acaf30f69afe1a12.tar.gz
gentoo-90938bfdf79a99184d64f004acaf30f69afe1a12.tar.bz2
gentoo-90938bfdf79a99184d64f004acaf30f69afe1a12.zip
net-proxy/miniproxuy: New package
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-proxy/microsocks/files/microsocks.initd')
-rw-r--r--net-proxy/microsocks/files/microsocks.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-proxy/microsocks/files/microsocks.initd b/net-proxy/microsocks/files/microsocks.initd
new file mode 100644
index 000000000000..a520e94920cc
--- /dev/null
+++ b/net-proxy/microsocks/files/microsocks.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="microsocks daemon"
+description="Multithreaded, small, efficient SOCKS5 server"
+pidfile="/run/${RC_SVCNAME}.pid"
+command=/usr/bin/microsocks
+command_args="${microsocks_args}"
+command_background=1
+
+depend() {
+ need net
+}