#!/bin/bash basepath=$(cd `dirname $0`; pwd) cd $basepath nohup php ../artisan swoole:socket start >/dev/null 2>&1 & echo 'Socket service start...'