BASH   74

restart.sh

Guest on 25th April 2022 12:26:24 PM

  1. #!/bin/sh
  2. cd /var/www/server
  3. ps ax|awk "{if (\$6==\"./ServerSpotBox.exe\") print \$1}" | xargs kill
  4. nohup mono ./ServerSpotBox.exe &

Raw Paste


Login or Register to edit or fork this paste. It's free.