command_restart.sh 354 B

12345678910111213141516
  1. #!/bin/bash
  2. # LinuxGSM command_restart.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Restarts the server.
  6. local modulename="RESTART"
  7. local commandaction="Restarting"
  8. local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  9. info_config.sh
  10. exitbypass=1
  11. command_stop.sh
  12. command_start.sh
  13. core_exit.sh