index 529495edcab1e288b1b8f7eb16d60b0deaad745d..1c08c9ca09364927400ea9cbe67418a952bc91e9 100755 (executable)
-#!/bin/sh
+#!/bin/bash
# Start/stop the GOsa support daemon infrastructure.
#
### BEGIN INIT INFO
# Load defaults
START_BUS=0
+DEBUG=-vvv
[ -r /etc/default/gosa-si ] && . /etc/default/gosa-si
# Load LSB support functions
start_client() {
- start-stop-daemon --start --quiet --pidfile /var/run/gosa-si-client.pid --name gosa-si-client --startas /usr/sbin/gosa-si-client -vvv
+ start-stop-daemon --start --quiet --pidfile /var/run/gosa-si-client.pid --name gosa-si-client --startas /usr/sbin/gosa-si-client -- $DEBUG
}
start_bus() {
- start-stop-daemon --start --quiet --pidfile /var/run/gosa-si-bus.pid --name gosa-si-bus --startas /usr/sbin/gosa-si-bus -vvv
+ start-stop-daemon --start --quiet --pidfile /var/run/gosa-si-bus.pid --name gosa-si-bus --startas /usr/sbin/gosa-si-bus -- $DEBUG
}
start_server() {
- start-stop-daemon --start --quiet --pidfile /var/run/gosa-si-server.pid --name gosa-si-server --startas /usr/sbin/gosa-si-server -- $1 -vvv
+ start-stop-daemon --start --quiet --pidfile /var/run/gosa-si-server.pid --name gosa-si-server --startas /usr/sbin/gosa-si-server -- $1 $DEBUG
}