I couldn't find anything by searching so I'm hoping this hasn't been asked for.
Has anyone ever written an init.d script for starting UOX3 on boot for Ubuntu or CentOS?
I'd like to have an init script that launches UOX3 in a screen session, and can restart and terminate that process/screen session. I'm happy to write one and contribute it to the community, but I wanted to make sure I wasn't duplicating effort.
dragon slayer wrote:I don't think any one has ever made a script like that.
I know some js scripting I'm not a pro or anything hehe just your basic js scripter.
No worries! Looks like I'll be writing one, I'm already well on my way to having it built out.
I'm basically building a pretty complete set of tools to launch UOX3 on CentOS or Ubuntu. Should make things much more approachable for new admins, and devs for that matter.
Here she is.. You should only have to change the "UOXDIR" value to where your uox3 executable and script files live, the rest should "just work". I'm gonna be making this even easier to consume though.. Watch this space..
EDIT: Tweaked to be a proper SysV init script, and call out the process a bit more specifically
As promised, here's the "toolkit" which includes this SysV init script, as well as monitoring, backup and restore capabilities, and the ability to run a UOX server on any public cloud provider you like!