1
0

Use screen instaead.

This commit is contained in:
Alexander Harkness 2014-11-02 10:17:09 +00:00
parent b9f467571c
commit cde5d51d18

View File

@ -4,8 +4,8 @@ config:
#cloud-config #cloud-config
packages: packages:
- curl - curl
- nohup - screen
runcmd: runcmd:
- mkdir /minecraft - mkdir /minecraft
- cd /minecraft && curl -s https://raw.githubusercontent.com/mc-server/MCServer/master/easyinstall.sh | sh - 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