command_restart.sh 340 B

1234567891011121314
  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 commandname="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