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