Capistrano fails to restart Memcached service

Anatol Pomozov wrote:

right after sudo command and found that service process existed and
memcached service started.

But it killed when SSH Capistrano finishes.

What could be reason of this strange behaviour? I thought services
processes work independently from Capistrano SSH session. How to solve
my problem??


sudo "nohup /etc/init.d/memcached restart &"