Ok now here is a big problem, I am using sgminer 5.0, and I just set it up for X13, it got hired, when LeaseRig went to change the pool and save the configuration, it changed the algorithm kernel to "ckolivas", where is was "marucoin-mod" before, so the renters X13 pool wouldn't work with that kernel, I had to go in and manually change the kernel back. I already tested the API save command, and that does not affect the kernel, only when LeaseRig changes the pools.
This seems to be a hint to my previous request, but also a LeaseRig bug for now. Looks like the new api for sgminer 5.0 accepts sending an option for algorithm to the kernel, and when that option is not specified, it defaults to "ckolivas", so please, can that be fixed otherwise I can't rent my rigs out. If upon each hire the algorithm gets changed back to default I won't be able to provide service here anymore..
You might have more issues than just kernel. Sgminer 5.0 configuration is pretty fucked up, you are supposed to specify things like intensity and threads and GPU clocks per pool, so if you are using a multi-algo setup it will get messed up by LeaseRig pool switch. If you are only using it for X13 then xmk3 might be able to come up with a workaround.
You don't HAVE to specify intensity, thread, clocks per pool, it is optional, the only thing not really optional is algorithm. I had multi-algorithm working fine on NiceHash with only the pool-algorithm specified, and none of the other stuff, works fine.