Page 1 of 1

Server - Options Page

Posted: Thu Dec 27, 2018 9:14 am
by r4z0r
Hi :)

I am currently using the options tab in the Server Edit page to pre-start the Redis Db Server, used by my Atlas server:


'Run command before server start +*' "C:\ARKFTP\Games\ATLASserver\AtlasTools\RedisDatabase\redis-server.exe "

'Command line arguments +*' ./redis.conf


This works perfectly, but is there a way to shut down Redis when I stop the server, or could this be added?

Cheers,

r4z0r

Re: Server - Options Page

Posted: Fri Dec 28, 2018 1:11 am
by Masher
Create an entirely separate server for the redis server. Then make the atlas server a dependent of it, and set the Dependencies follow server option. You may have to experiment with what is a dependency of a what.

Re: Server - Options Page

Posted: Sun Dec 30, 2018 2:48 pm
by r4z0r
I've done that and it works great. Thank you.

It would be good to have a simple server option as I described (where general server / update / port configuration is not required), for the pre-executed task to be killed when the server is stopped. 'Nice to have' if you get time.

Cheers,

r4z0r

Re: Server - Options Page

Posted: Sun Dec 30, 2018 5:15 pm
by Masher
That is exactly what the dependencies option was added for. If you don't configure the update, query, etc settings; it's exactly what you requested.