The conf/redhat/client.init script (installed in /etc/init.d) in 0.24.6 has this "status" method:
status) status -p "$pidfile" $puppetd RETVAL=$? ;; Unfortunately the '-p "$pidfile"' option is available in Red Hat Server 5 but not earlier versions, where it produces an error: $ cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 7) $ /etc/init.d/puppet status pidof: invalid options on command line! pidof: invalid options on command line! -p is stopped $ We were using a standard cron job "/etc/init.d/puppet status || /etc/init.d/puppet restart" on our hosts to ensure Puppet stayed running; now it restarts Puppet every time the cron job runs (until I changed the cron job to use a different check for the existence of puppetd). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---