#!/sbin/openrc-run name="web2ldap" description="Full-featured LDAP client running as web application" : ${host:="127.0.0.1"} : ${port:="1760"} command="/usr/bin/python3" command_args="-m web2ldap $host $port $command_args" command_background=true : ${command_user:="nobody:nogroup"} pidfile="/run/web2ldap.pid" depends() { need net use ldap }