tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Daemon user
Jason Bacon <jtocino%gmx.com@localhost> writes:
> 21.6.14. Packages installing startup scripts
>
> If a package contains an rc.d script, it won’t be copied into the
> startup directory (/etc/rc.d) by default, but you can enable copying
> by setting the option PKG_RCD_SCRIPTS=YES in mk.conf. With
> PKG_RCD_SCRIPTS=YES, rc.d scripts will be copied into /etc/rc.d when a
> package is installed, but only if the target does not already
> exist. Copies in /etc/rc.d will be automatically removed only if they
> have not been modified. Hence, modifying scripts in /etc/rc.d will
> prevent them from being upgraded along with the package.
>
> Note that this alone does not enable the service: It must still be
> added to /etc/rc.conf.
This does not belong in fixes, as it's not about creating the package.
It's about using pkgsrc.
I would drop the "hence" sentence. It's true, but things easily get too
detailed.
Home |
Main Index |
Thread Index |
Old Index