Evil|Clan HOME SERVERLIST OA-CONNECT EVIL|ARCHIVE Evil|Clan
HOME SERVERLIST OA-CONNECT EVIL|ARCHIVE PASTEBIN PRIVACY CONTACT

Pastebin

show all

PaniC posted at 2015-04-14 22:05:51 | hide line numbers

bash script start php -S

  1. #/bin/bash
  2. checkphpserver=`ps -ef | grep php | grep localhost | grep connect.php`
  3. phpcommand="php -S localhost:8080 connect.php"
  4.  
  5. if [ -z "$checkphpserver" ];
  6. then
  7. echo "start php server"
  8. $phpcommand
  9. else
  10. echo "php server runs already"
  11. fi
  12. exit 0