View Single Post
  #6   (View Single Post)  
Old 7th January 2013
ershiba ershiba is offline
Loading, please wait...
 
Join Date: Dec 2012
Posts: 34
Default

sorry, because English is not my native language,

thanks for the explanation jggimi,

so, pkg_scripts would call "executable" that only available & located in /etc/rc.d/

but *_flags would be base on etc/rc.conf file, if it is not there, then no need to use *_flags,

eg,
php_fpm

since there is no mentioned of php_fpm in rc.conf,
then to autostart it, we only need to pkg_scripts="php_fpm" no need php_fpm_flags=""

and since nginx_flags="" is mentioned in rc.conf,
so to use it, we must put nginx_flags="" rc.conf.local

but why mysqld_flags="" or pgsql_flags?

i am confuse, is that anything that in pkg_scripts must have equivalent *_flags="" entry?

i just tried the following,
php_fpm_flags=NO
so php stop autoboot after a reboot,

then this bring another question?

isn't it php_fpm_flags="" already sufficient to prove that i want to boot this php_fpm thing?
then pkg_scripts is duplicating, imo.

Last edited by ershiba; 7th January 2013 at 03:44 PM. Reason: update
Reply With Quote