[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Process starts even though I stop it



Kevin Coyner wrote:

On Sun, Sep 17, 2006 at 11:39:25AM +0200, Erik Persson wrote......

I'm running sarge.  I've installed tinyproxy in a vserver. I don't
want it to run all the time though, so I stop it when I'm done
using it.  There are S-links to /etc/init.d/tinyproxy in all the
relevant /etc/rc*.d dirs (thus except 0,1,6 and S) so it is
started when the system boots.

The strange thing is that even though I stop it (it is not in the
process list after I stop it), it keeps appearing there after some
time (24h).  I can't figure out why it is started. This puzzles
me.  Something must start it, but I can't see any cron scripts
that is responsible.

Check /etc/logrotate.d/tinyproxy.



Thank you!
For everybody elses information the problem is as follows.
Logrotate is called on a daily basis from cron, see /etc/cron.daily. See also /etc/logrotate.conf and /etc/logrotate.d/. logrotate calls /etc/init.d/tinyproxy restart, and thus starts a not started tinyproxy.

/ep



Reply to: