# Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
# Messages for stop script

tta_stop_desc="  stop               Stops $PRODUCT_SHORT_NAME services"

base_usage="\
Usage:
        tarantella stop [--force] [--yes]
        tarantella stop --help"

lf_usage="
${base_usage}
Deprecated usage:
        tarantella stop [--kill] [--quiet] [--http | --https] [--servlet]
        tarantella stop sgd [--kill] [--quiet]
        tarantella stop webserver [--http | --https] [--servlet]
        tarantella stop cdm

  Stops $PRODUCT_SHORT_NAME services, prompting if any users are
  connected or applications are running.

  --force   Forces termination of ${PRODUCT_SHORT_NAME} processes.
  --yes     Do not prompt when users are connected or applications are running.
  --kill    Equivalent to --force --yes (deprecated).
  --quiet   Equivalent to --yes with some output suppressed (deprecated).
  --http    Stops Apache HTTP services (deprecated).
  --https   Stops Apache HTTPS services (deprecated).
  --servlet Stops Tomcat Java Servlet/JavaServer Pages services (deprecated).
  sgd       Stops only the $PRODUCT_SHORT_NAME core services (deprecated).
  webserver Stops only the $PRODUCT_SHORT_NAME web services (deprecated).
  cdm       Stops only $PRODUCT_SHORT_NAME client drive mapping
            services for UNIX (deprecated). Equivalent to 'tarantella cdm stop'.

  The default operation stops all $PRODUCT_SHORT_NAME services.
  Any clients will be disconnected. Running applications may be terminated.
"

sf_usage="${base_usage}
 - Stops $PRODUCT_SHORT_NAME services.
 - Use \"tarantella stop --help\" for more information."

# These are the strings output from tarantella stop --kill...

stop_killintro="Trying to kill $PRODUCT_SHORT_NAME services..."

# Component names
auxservername="Protocol Engine Manager"
jservername="JServer"

# Component name follows each of these
stop_success="Successfully stopped: "
stop_already="Already stopped: "
stop_failed="Unable to stop: "

stop_shouldistop="\
WARNING: Users are connected to this $PRODUCT_SHORT_NAME server.
Stopping the server will shut down any application sessions for these users.
This may result in loss of data."
q_stop_shouldistop="Are you sure you want to continue?"
stop_serverinuse="$PRODUCT_SHORT_NAME services are in use and will not be stopped."
stop_stopmsg="$PRODUCT_SHORT_NAME services have been stopped."
