pkgsrc-Bugs archive

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

pkg/50049: mail/postfix/MESSAGE simplification



>Number:         50049
>Category:       pkg
>Synopsis:       mail/postfix/MESSAGE simplification
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 14 14:55:01 +0000 2015
>Originator:     Edgar FuÃ?
>Release:        pkrsrc-2014Q4
>Organization:
	Mathematisches Institut der Uni Bonn
>Description:
	mail/postfix/MESSAGE suggests to set
		start_cmd='/usr/pkg/sbin/postfix start'
		stop_cmd='/usr/pkg/sbin/postfix stop'
		reload_cmd='/usr/pkg/sbin/postfix reload'
	in /etc/rc.conf.d/postfix. However /etc/rc.d/postfix defines
		start_cmd="postfix_op"
		stop_cmd="postfix_op"
		reload_cmd="postfix_op"
	where postfix_op is
		postfix_op()
		{
			${postfix_command} ${rc_arg}
		}
	so since MESSAGE also suggests to set
	        postfix_command='/usr/pkg/sbin/postfix'
	changing {start,stop,reload}_cmd seem superflous.

>How-To-Repeat:
	cat mail/postfix/MESSAGE; cat /etc/rc.d/postfix
>Fix:
	Remove lines suggesting to set {start,stop,reload}_cmd from MESSAGE



Home | Main Index | Thread Index | Old Index