Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: watchdog




On Oct 17, 2004, at 18:05, Dan Shoop wrote:

At 12:55 AM -0400 10/17/04, webmaster wrote:
I'd like to set watchdog to watch a couple of processes and restart them if required, anyone have an example code that will do this???

First make sure these are processes that cooperate nicely with watchdog. Not all do.


Second, there's really no example code, like cron you just add an appropriate entry to watchdog.conf to manage the daemon.
--


-dhan

I tried adding the following entry

clamav:respawn:/usr/bin/su clamav -c /usr/bin/amavisd

It tries to continually start the process when it's running, it's a perl script and this may have something to do with it since in the activity monitor it shows as perl by user clamav and not a process named amavisd.

-- Dale

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >watchdog (From: webmaster <email@hidden>)
 >Re: watchdog (From: Dan Shoop <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.