summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c4522f)
raw | patch | inline | side by side (parent: 0c4522f)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Jul 2008 10:44:24 +0000 (10:44 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Jul 2008 10:44:24 +0000 (10:44 +0000) |
closes #489
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11523 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11523 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/debian/gosa-si-common.init | patch | blob | history |
index cdcc9a3c200dfd1b658d98c9447b5b797b5cb0c0..e9dfd2e9549bd96bc8ce8c72f80b56f33c004f8f 100755 (executable)
stop_client() {
start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/gosa-si-client.pid --name gosa-si-client
kill `ps -C gosa-si-client -o pid=` > /dev/null 2>&1
- ps -C gosa-si-client -o pid= > /dev/null 2>&1
+ ! ps -C gosa-si-client -o pid= > /dev/null 2>&1
}
stop_server() {
start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/gosa-si-server.pid --name gosa-si-server
kill `ps -C gosa-si-server -o pid=` > /dev/null 2>&1
- ps -C gosa-si-server -o pid= > /dev/null 2>&1
+ ! ps -C gosa-si-server -o pid= > /dev/null 2>&1
}