Packages that start on sync are started multiple times at boot
/etc/rc.start_packages is run, for example at boot time, it performs a package sync with
sync_package() and then its service is started with
start_service(). The problem is that packages may already start the service on their own during their
sync_package() call, thus leading to multiple starts unintentionally.
Related to #8620
Allow packages to opt out of a forced start. Fixes #8850
If a package performs its own service start during its sync process,
then add <starts_on_sync/> to its service definition in the package XML
file. Then when rc.start_packages is called, the forced start will not
happen since the sync will have taken that action already.
#3 Updated by Jim Pingle over 1 year ago
- % Done changed from 100 to 0
For an example of the change to make on packages, see https://github.com/pfsense/FreeBSD-ports/commit/aa78e490fe92d5640a742bbe77012a5ba626b084#diff-d8e79b0a6a99373429d526a362f5d787