Antoine Jacoutot <ajacou...@bsdfrog.org> wrote:

> On Thu, Dec 19, 2013 at 01:15:01AM -0500, Predrag Punosevac wrote:
> > I am using new post 5.0 way to start pkg_scripts. While adding
> > pkg_scripts="unbound" and pkg_scripts="php-fpm" to /etc/rc.conf.local
> 
> That is not how it works. "pkg_scripts" is a variable, so you need to \
> append to it; otherwise you are just overriding its value.

I got it. This seems to be the correct way in verbose mode?

pkg_scripts="postgresql^Iphp_fpm^Iunbound^Izabbix_server^Izabbix_agentd"$

Notice that I use tabs not spaces as a field separators. I noticed if I
use single space as field separators that some daemons fail to start.
Using multiple spaces seems to work.

> And php-fpm cannot work, it's php_fpm.
> 

Ahh... It was very late last night on U.S. East cost when I sent that
e-mail. Actually something else trick me. I was starting unbound old way
and php_fpm was the very last of pkg_scripts so of course those two
worked while the other three didn't.

> > works as expected this is not the case with postgresql and zabbix
> > agent/server. What am I doing wrong?
> 
> But we don't know until we see your rc.conf.local(5).
> 

# more /etc/rc.conf.local
ntpd_flags=             # enabled during install
sendmail_flags=NO       
smtpd_flags=            
pkg_scripts="postgresql php_fpm unbound zabbix_server   zabbix_agentd"
nginx_flags=""

> -- 
> Antoine

Thank you so much Antoine. I hope you and your family have great Holiday
season. Good job on that geogebra package. My girls are enjoying too :)

Predrag

Reply via email to