Skip to content

Commit

Permalink
Use screen instaead.
Browse files Browse the repository at this point in the history
  • Loading branch information
bearbin committed Nov 2, 2014
1 parent b9f4675 commit cde5d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.yml
Expand Up @@ -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

2 comments on commit cde5d51

@sphinxc0re
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice approach but this won't work either. The MCServer application isn't started within it's directory causing it to terminate because of "Files not found!" :) try using my approach

@bearbin
Copy link
Member Author

@bearbin bearbin commented on cde5d51 Nov 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wat? I even tested it and it worked fine.

Please sign in to comment.