Advertisement
Guest User

Untitled

a guest
Oct 12th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #### in /etc/rc.local, put this line:
  2.  
  3. /bin/su minetest -c "/home/minetest/minetestserver-survival.sh" &
  4.  
  5. #### then make this script (change the name above to match whatever you save the below as):
  6.  
  7. #!/bin/bash
  8.  
  9. cd /home/minetest
  10.  
  11. while true
  12. do
  13. sleep 1
  14. /usr/bin/minetestserver \
  15. --worldname Survival_World \
  16. --config /home/minetest/.minetest/minetest-server-survival.conf \
  17. --gameid vanessae_game \
  18. --port 30001 --disable-unittests \
  19. --logfile '/home/minetest/.minetest/debug-survival.txt'
  20. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement