command_restart.sh 396 B

12345678910111213141516171819
  1. #!/bin/bash
  2. # LinuxGSM command_restart.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Restarts the server.
  6. fn_commandname(){
  7. commandname="MODS-INSTALL"
  8. commandaction="Restarting"
  9. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  10. }
  11. fn_commandname
  12. info_config.sh
  13. exitbypass=1
  14. command_stop.sh
  15. command_start.sh
  16. fn_commandname
  17. core_exit.sh