]>
Commit | Line | Data |
---|---|---|
265669ec | 1 | #!/sbin/openrc-run |
2 | ||
3 | name="web2ldap" | |
4 | description="Full-featured LDAP client running as web application" | |
5 | ||
bb73bc8a | 6 | : ${host:="127.0.0.1"} |
7 | : ${port:="1760"} | |
265669ec | 8 | |
9 | command="/usr/bin/python3" | |
bb73bc8a | 10 | command_args="-m web2ldap $host $port $command_args" |
265669ec | 11 | command_background=true |
bb73bc8a | 12 | : ${command_user:="nobody:nogroup"} |
265669ec | 13 | pidfile="/run/web2ldap.pid" |
14 | ||
15 | depends() { | |
16 | need net | |
17 | use ldap | |
18 | } |