Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > PID Files

PID Files
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2007
Status: Offline
Reply With Quote
Apr 11, 2007, 11:30 PM
 
What is the point of .pid files?

I am runing freshclam as a daemon and the man page for freshclam says "--pid=FILE Save daemon's pid in FILE." I have always ran freshclam as a daemon without saving the pid file. Whats the point? I know how to pass this command I just don't understand the point of this if it already works.

Freshclam man page:
Manual Page For freshclam(1)
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Apr 11, 2007, 11:40 PM
 
Sometimes it's handy to put the pid in a file, mainly if
(1) you're scripting the start/stop of the daemon
(2) you might be running multiple instances from different locations
(3) you're just anal like that
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:43 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2