View Single Post
  #8   (View Single Post)  
Old 7th January 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Starting with 5.0, *_flags variables were made generic and could include third party daemons. Prior to that point, they were never used with third party ports/packages.

With that change, if any third party script (let us call it <daemon>) in /etc/rc.d requires flags or user to be set, the admin would set <daemon>_flags or <daemon>_user variables in /etc/rc.conf.local. The <daemon> script still requires inclusion in the pkg_scripts variable, so that /etc/rc knows in what order to execute them.

Built-in daemons -- those that come with the base OS, and are not installed from the ports/packages system -- are not listed in the pkg_scripts variable. You only need to change the built-in-daemon_flags variable to something other than =NO.

Last edited by jggimi; 7th January 2013 at 04:16 PM. Reason: clarity
Reply With Quote