Hi I've installed the latest version of pmmp in a little linux vm (latest lubuntu), and I can start the server using the supplied start.sh and it runs quite happily. I was just wondering if it would be possible to run it unattended, ie run it as a linux service? If that is possible how would I connect to it if I wanted to stop it? Happy to write a script and then share it, just need some pointers Thanks, Mark
Easy way: Install 'screen' Run it On the "new" shell inside 'screen', run ./start.sh Detach from 'screen' with sequence Ctrl-A Ctrl-D Pocketmine will continue running inside the detached terminal as if it were truly attended. If you want to connect to it again, just run 'screen' again and reattach with sequence Ctrl-A Ctrl-R
Thanks all - I'll take a look at screen and Tmux. Presumably its not possible to run it through a linux service so it starts with the server?
i dont know if linux have a autostart like windows worth checking corntab but i dont think you can trigger something on start
Yes, Linux can start it as a service (of course ). I just posted the "easy way", not needing to be root on the computer not fiddling any configuration.