diff options
Diffstat (limited to 'net-proxy/microsocks/files')
-rw-r--r-- | net-proxy/microsocks/files/microsocks.confd | 4 | ||||
-rw-r--r-- | net-proxy/microsocks/files/microsocks.initd | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/net-proxy/microsocks/files/microsocks.confd b/net-proxy/microsocks/files/microsocks.confd new file mode 100644 index 000000000000..1c9387fb09c3 --- /dev/null +++ b/net-proxy/microsocks/files/microsocks.confd @@ -0,0 +1,4 @@ +# /etc/conf.d/microsocks - config for microsocks +# +# see README.md or --help for possible parameters +microsocks_args="" 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 +} |