projects
/
virtual-ldap
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
read additional yaml files from yaml/attribute/value.yaml
[virtual-ldap]
/
etc
/
init.d
/
ldap-rewrite.sh
1
#!/bin/sh
2
3
dir="/srv/virtual-ldap"
4
pid="/tmp/ldap-rewrite.pid"
5
6
case "$1" in
7
start)
8
su -c "cd $dir && ./bin/ldap-rewrite.pl" dpavlin &
9
echo $! > $pid
10
;;
11
stop)
12
kill `cat $pid`
13
;;
14
*)
15
exit 3
16
;;
17
esac
18