Use screen instaead.

This commit is contained in:
Alexander Harkness committed 2014-11-02 10:17:09 +00:00
1 parent b9f467571c
commit cde5d51d18
1 file changed
+2 -2
+2 -2
View File
@@ -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