index d3d6c1454293a1389a6ca9cc26ee0ae69354d860..6cde8872554c51fa1fb9dd828f3db24f4b0a9348 100755 (executable)
-#!/bin/sh
+#!/bin/bash
# Start/stop the GOsa support daemon infrastructure.
#
### BEGIN INIT INFO
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
}
stop_bus() {
start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/gosa-si-bus.pid --name gosa-si-bus
+ kill `ps -C gosa-si-bus -o pid=` &> /dev/null
}
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
}