nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
131 stars 92 forks source link

Administrator: ResetServer() function #38

Closed Alibertos closed 6 years ago

Alibertos commented 6 years ago

To implement really ThreadWatchdog service to reload server when crashes or after admin shutdown

Liareth commented 6 years ago

I don't think this is something that should be handled by NWNX (or a plugin of NWNX). I know the old NWNX on Windows used to provide it, but, in my opinion, server maintenance should really be handled by some sort of process watching system which the OS provides.

Here are some potential pages that might help:

https://unix.stackexchange.com/questions/106656/how-do-services-in-debian-work-and-how-can-i-manage-them

https://www.digitalocean.com/community/tutorials/how-to-configure-a-linux-service-to-start-automatically-after-a-crash-or-reboot-part-1-practical-examples

https://www.digitalocean.com/community/tutorials/how-to-configure-a-linux-service-to-start-automatically-after-a-crash-or-reboot-part-2-reference

Liareth commented 6 years ago

Going to close this issue for the above reasons.