Execute desk.sh bash script

DESK Managed software consists of a number of DESK services that are dependent on each other and should be stopped or started in a particular order. You can use the official desk.sh script with additional parameters to properly start, stop, or restart DESK services. By default, the script is located at /opt/desk-managed/launcher/. Make sure the desk.sh script has executable permissions.

You can execute the desk.sh script with a parameter (start, stop, restart, status, check, pid) as described below.

  • start
    Starts all DESK Managed required services in the recommended order.
    [root@localhost]# ./desk.sh start
    
  • stop
    Stops all DESK Managed required services in the recommended order.
    [root@localhost]# ./desk.sh stop
    
  • restart
    Restarts all DESK Managed required services in the recommended order.
    [root@localhost]# ./desk.sh restart
    
  • status
    Displays a list of DESK required services and the status of each, including detailed information about each service:
    [root@localhost]# ./desk.sh status
    
  • check
    Checks the status of iptable rules and the processes for Nodekeeper, Cassandra, Elasticsearch, ActiveGate, Watcher, and Nginx.
    [root@localhost]# ./desk.sh check
    
  • pid
    Displays the process ID for all DESK required services that were started with the desk.sh script.
    [root@localhost]# ./desk.sh pid