is it aviable that safe way to shutdown minetestserver ?

Post Reply
User avatar
linushsao
Member
Posts: 418
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus
Location: Taipei,Taiwan(R.O.C)
Contact:

is it aviable that safe way to shutdown minetestserver ?

by linushsao » Post

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" ?
1)Server:Mars World
2).address:139.59.238.211:30016
3).manual(in processing):http://tinyurl.com/jyjkrgl
4).for my(admin's) role in all my servers,i'll be as the earth/water/fire/wind. i maintain that system,but not manage/touch players directly in game,not own the crafts on planet. i just keep watching the worlds.
5).TODO-List

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: is it aviable that safe way to shutdown minetestserver

by sfan5 » Post

Try killall -INT minetestserver, it's safer as it sends the same signal as if you were pressing ctrl+c
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
linushsao
Member
Posts: 418
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus
Location: Taipei,Taiwan(R.O.C)
Contact:

Re: is it aviable that safe way to shutdown minetestserver

by linushsao » Post

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.
1)Server:Mars World
2).address:139.59.238.211:30016
3).manual(in processing):http://tinyurl.com/jyjkrgl
4).for my(admin's) role in all my servers,i'll be as the earth/water/fire/wind. i maintain that system,but not manage/touch players directly in game,not own the crafts on planet. i just keep watching the worlds.
5).TODO-List

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests