后台运行进程

运行bee run或者tomcat的时候需要后台运行

nohup ./xxx.sh run &

如果遇到
nohup: ignoring input and appending output to ‘nohup.out’
或者:
nohup: failed to run command `xxx.sh’: Permission denied

运行

nohup ./xxx.sh > /dev/null 2> /dev/null &

你可能感兴趣的:(后台运行进程)