Bug 97283

Summary: mail/fetchmail: system start script nits
Product: Ports & Packages Reporter: mhjacks
Component: Individual Port(s)Assignee: Simon Barner <barner>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mhjacks 2006-05-15 02:20:21 UTC
	Systemwide start script has two small issues:
	1)  pidfile is defined as /var/run/fetchmail/${name}.pid.  This code path followed for awaken looks for /var/run/${name}.pid, and $pidfile is reported to be in the wrong place.
	2)  /var/run/fetchmail is not created.

Fix: The attached patch addresses both issues, though there may be a better
	way to address the second one than the one offered (if fetchmail user is 	always going to be used, the right place to do this might be at pkg 
	install:
How-To-Repeat: 	enable fetchmail system-wide mode and start it.
	run $PREFIX/rc.d/fetchmail awaken
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-15 02:24:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->barner

Over to maintainer
Comment 2 Simon Barner freebsd_committer freebsd_triage 2006-05-15 22:19:27 UTC
State Changed
From-To: open->closed

Committed. Thanks!