Help with autostart please? :)
#11
(02-26-2016, 07:27 AM)Utking Wrote: 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.!

I've some scripts to stop , start, restart, and update cuberite server based on jenkins builds, also works as a service and autostarts on boot, so you can simply type for example, "sudo service cuberite restart"  in order to restart the server, it also sends the exit command through the server , not just kill the process to stop it among other things, like warning online users that ther server is going to restart for mainenance(update) in 5 minutes, with a reminder every minute until it restarts and updates itself.

I'm using screen though , no tmux , let me know if you want them, I'm using an Odroid XU4 now, so I have to check the old Pi, I'm sure I have them on some sd card.
Reply
Thanks given by:


Messages In This Thread
Help with autostart please? :) - by Utking - 02-25-2016, 07:56 AM
Tmux guide - by LogicParrot - 02-25-2016, 06:14 PM
RE: Tmux guide - by Utking - 02-25-2016, 07:22 PM
RE: Help with autostart please? :) - by Utking - 02-26-2016, 04:46 AM
RE: Help with autostart please? :) - by bearbin - 02-26-2016, 06:40 AM
RE: Help with autostart please? :) - by Utking - 02-26-2016, 07:27 AM
RE: Help with autostart please? :) - by Rekuen - 02-26-2016, 07:59 AM
RE: Help with autostart please? :) - by Utking - 02-26-2016, 08:25 AM
RE: Help with autostart please? :) - by Rekuen - 02-27-2016, 11:11 AM
RE: Help with autostart please? :) - by Rekuen - 02-27-2016, 08:46 PM
RE: Help with autostart please? :) - by Utking - 02-27-2016, 06:58 PM
RE: Help with autostart please? :) - by Rekuen - 02-27-2016, 08:34 PM
RE: Help with autostart please? :) - by Utking - 03-01-2016, 05:51 PM
RE: Help with autostart please? :) - by Rekuen - 02-28-2016, 01:31 AM
RE: Help with autostart please? :) - by tigerw - 03-01-2016, 09:07 AM



Users browsing this thread: 4 Guest(s)