Parent Directory | Revision Log
init script for bin/ldap-rewrite.pl
1 | dpavlin | 41 | #!/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 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |