etcd icon indicating copy to clipboard operation
etcd copied to clipboard

daemonization

Open tetsusoh opened this issue 12 years ago • 5 comments

Hello,

I am considering to use etcd in my production, but etcd cannot daemonize itself. I have to use nohup.

Do you have plan to implement this feature?

Regards,

Tetsu

tetsusoh avatar May 28 '14 05:05 tetsusoh

Yep. We would add it to our TODO list if needed. :) Could nohup handles the daemonization perfectly for you? What else do you expect from the feature?

yichengq avatar May 28 '14 07:05 yichengq

Thank you. nohup cannot record pid for me. so it is far from perfect.

Just as other service, at least location of pid and log file are need. it would be better if etcd could handle log rotation.

tetsusoh avatar May 28 '14 08:05 tetsusoh

Would it be better to leave daemonization and logging to tools like systemd, upstart, and supervisord?

kelseyhightower avatar May 30 '14 20:05 kelseyhightower

It is very unlikely we will add daemonization. Please use an init system that can do this for you.

philips avatar May 31 '14 01:05 philips

Rather than nohup, consider: http://libslack.org/daemon/manpages/daemon.1.html.

ravi avatar Jun 10 '14 01:06 ravi