echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ctdb || RETVAL=1
;;
- ubuntu)
+ debian)
start-stop-daemon --start --quiet --background \
--exec $ctdbd -- $CTDB_OPTIONS
RETVAL=$?
# should ctdb manage starting/stopping the Apache web server httpd?
# CTDB_MANAGES_HTTPD
-# The init style (redhat/suse/ubuntu...) is usually auto-detected.
+# The init style (redhat/suse/debian...) is usually auto-detected.
# The names of init scripts of services managed by CTDB are set
# based on the detected init style. You can override the init style
# auto-detection here to explicitly use a scheme. This might be
CTDB_SERVICE_CLAMD="clamav"
CTDB_CONFIG_CLAMD="clamav"
;;
- ubuntu)
+ debian)
CTDB_SERVICE_CLAMD="clamav"
CTDB_CONFIG_CLAMD="clamav"
;;
CTDB_SERVICE_HTTP="apache2"
CTDB_CONFIG_HTTP="apache2"
;;
- ubuntu)
+ debian)
CTDB_SERVICE_HTTP="apache2"
CTDB_CONFIG_HTTP="apache2"
;;
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
CTDB_SERVICE_WINBIND=${CTDB_SERVICE_WINBIND:-winbind}
;;
- ubuntu)
+ debian)
CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-samba}
CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
CTDB_SERVICE_WINBIND=${CTDB_SERVICE_WINBIND:-winbind}
if [ -x /sbin/startproc ]; then
CTDB_INIT_STYLE="suse"
elif [ -x /sbin/start-stop-daemon ]; then
- CTDB_INIT_STYLE="ubuntu"
+ CTDB_INIT_STYLE="debian"
else
CTDB_INIT_STYLE="redhat"
fi