Support different package internal name
Change rcfileprefix to a constant
Setup library paths to include /usr/pbi/*/lib as a last resort to make sure things can find libraries. We may eventually replace this with a better method as this can lead to conflicts, but for now it will allow packages to find their proper libraries.
Fix array parsing of rc files. Resolves #1541
Restore running custom scripts under /usr/local/etc/rc.d directory since it causes regressions and its a feature used by many users.
Do not call stop_service since its already called from start_service itself.
Actually sync_package before starting it again. Also include restart in the log message since it might be like that.
Ticket #1534. Change rc.start_packages and rc.stop_packages to php scripts so they do a proper job at start/stop packages, rather than assume every package has a .sh script which is not true. It mostly reuses code from rc.packages which is not used anywhere as of now!
Do not output Syncing packages twice, once is enough.
php and shell code dont match too well!
Set package output mode to console
MFC [15083]Ticket #1145: Don't background the stop process, we really do need to stop the daemon before it tries to start again
Ticket #1124 - fix wordingMFC of commit [15039]
Stop packages before restarting.
Add rc.start_packages file