Friday 15 January 2010

install redis as windows service -



install redis as windows service -

i've installed redis on windows msopentech port. fine windows service. in order run cmd, need create redis command line arguments don't know how achieve.

how can solve problem?

this instruction:

running redis service

in order improve integrate windows services model, new command line arguments have been introduced redis. these service arguments require elevated user context in order connect service command manager. if these commands invoked non-elevated context, redis effort create elevated context in execute these commands. cause user business relationship command dialog displayed windows , may require administrative user credentials in order proceed.

installing service

--service-install

this must first argument on redis-server command line. arguments after passed in order occur redis when service launched. service configured autostart , launched "nt authority\networkservice". upon successful installation success message displayed , redis exit.

this command not start service.

for instance:

redis-server --service-install redis.windows.conf--loglevel verbose

uninstalling service

--service-uninstall

in dir installed redis instead of

redis-server --service-install redis.windows.conf--loglevel verbose

do

redis-server --service-install redis.windows.conf --loglevel verbose

windows-services redis

No comments:

Post a Comment