Posts: 9
Threads: 2
Joined: Feb 2016
Thanks: 0
Given 0 thank(s) in 0 post(s)
Hi guys!
Been trying to get autostart to work on my RPI without luck :/
The server works perfect, but as soon as i close the terminal, it exits.
Now i've been trying to follow the autostart guide here on the forum, without any luck.
does anyone care to help me
Posts: 204
Threads: 6
Joined: Oct 2015
Thanks: 23
Given 17 thank(s) in 16 post(s)
Actually, this would start cuberite from within your home directory. Shouldn't you do
su - minecraft -c \'tmux new -d "cd /home/minecraft/cuberite/Server && ./Cuberite" \'
??
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
No, the worlds and configuration files will be placed in the current directory, not the directory where the binary is located. Unless tmux is being strange, that's what should happen?
Posts: 9
Threads: 2
Joined: Feb 2016
Thanks: 0
Given 0 thank(s) in 0 post(s)
02-26-2016, 07:27 AM
(This post was last modified: 02-26-2016, 07:39 AM by Utking.)
when i write sudo su - minecraft -c 'tmux new -d "/home/pi/Server/Cuberite" '
i don't get any output, no process when i run top either :/
Edit: tmux is running though.!