command_restart.sh 424 B

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