V
V
Valery Semenov2012-10-10 19:21:22
Python
Valery Semenov, 2012-10-10 19:21:22

How to run one copy of the daemon

How can I use python-daemon to specify that the daemon should be a single process?

Is it really necessary to execute the command ps aux | grep 'my_daemon'?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2012-10-10
@Ravall

Usually daemons create a pid file. Check for it.
Or do you write the demon yourself?

I
ivnik, 2012-10-10
@ivnik

See an example here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question