summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.yml b/app.yml
index d46f2a528..4a9dddb6d 100644
--- a/app.yml
+++ b/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