command_restart.sh 382 B

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