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