Use screen instaead.
This commit is contained in:
parent
b9f467571c
commit
cde5d51d18
4
app.yml
4
app.yml
@ -4,8 +4,8 @@ config:
|
||||
#cloud-config
|
||||
packages:
|
||||
- curl
|
||||
- nohup
|
||||
- screen
|
||||
runcmd:
|
||||
- mkdir /minecraft
|
||||
- cd /minecraft && curl -s https://raw.githubusercontent.com/mc-server/MCServer/master/easyinstall.sh | sh
|
||||
- nohup /minecraft/MCServer/MCServer &
|
||||
- screen -S mcserver -d -m /minecraft/MCServer/MCServer
|
||||
|
Loading…
Reference in New Issue
Block a user