Auto start Minetest server with Ubuntu

Posted:
Fri Mar 20, 2015 19:19
by DI3HARD139
How can I auto start the minetestserver file with ubuntu? OS Version is 14.04.
Re: Auto start Minetest server with Ubuntu

Posted:
Fri Mar 20, 2015 20:17
by Calinou
I think you can create a shell script or .desktop file, that you put in /etc/xdg/autostart. This is for a desktop system.
Maybe editing the init script (/etc/rc.local) will work, try at your own risk.
Re: Auto start Minetest server with Ubuntu

Posted:
Fri Mar 20, 2015 21:33
by Don
This should do what you want. I never tested it but as long as you point to the right place for minetest it should work.
https://www.liberiangeek.net/2013/05/he ... -ringtail/
Re: Auto start Minetest server with Ubuntu

Posted:
Tue Mar 31, 2015 04:27
by lightonflux
Personally i really like to use cron for that.
Just add the line
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
It works on desktop and server and the great thing is that cron is per user. And you don't mess with rc.local.
https://help.ubuntu.com/community/CronH ... ed_Crontab
Re: Auto start Minetest server with Ubuntu

Posted:
Fri Apr 03, 2015 05:06
by Ada18!
It won't work without ubuntu.
Re: Auto start Minetest server with Ubuntu

Posted:
Sat Apr 04, 2015 14:57
by lightonflux
Ada18! wrote:It won't work without ubuntu.
What exactly doesn't work without Ubuntu?