Page 1 of 1

is it aviable that safe way to shutdown minetestserver ?

PostPosted: Sat Nov 26, 2016 01:08
by linushsao
hi,all. in my server, i setup a script to restart minetestserver evey night. but all i know is "killall minetestserver",directly terminate minetestserver and re-run it.

i dont know if it'll make something wrong,ex. data error or something.

does minetestserver has something like "minetestserver --restart" ?

Re: is it aviable that safe way to shutdown minetestserver

PostPosted: Sat Nov 26, 2016 13:35
by sfan5
Try killall -INT minetestserver, it's safer as it sends the same signal as if you were pressing ctrl+c

Re: is it aviable that safe way to shutdown minetestserver

PostPosted: Thu Dec 01, 2016 23:42
by linushsao
sfan5 wrote:Try killall -INT minetestserver, it's safer as it sends the same signal as if you were pressing ctrl+c


sorry for reply lately,tks sfan5.now i'm useing the option -INT as your suggestion.