Commit Graph

23 Commits

Author SHA1 Message Date
Renato Botelho
384e26472d Fix PBI symlink creation and deletion under /usr/local following .pbiopt files, also drop setup_library_paths() since it's not necessary anymore 2014-04-22 15:37:35 -03:00
Chris Buechler
34e2973ed9 standardize URLs 2014-03-14 19:33:03 -05:00
Ermal
d760445e72 Do not need to go in the internet world to start a package 2014-01-20 15:09:52 +00:00
Renato Botelho
677a64261c Revert "Make sure functions called by rc.start_packages can see $g['booting'] when we are booting"
This reverts commit 8a461f41db.
2013-12-24 13:01:52 -02:00
Renato Botelho
afd33d687e Revert "Only unset $g['booting'] when it was set here"
This reverts commit 47493bd326.
2013-12-24 13:01:48 -02:00
Renato Botelho
47493bd326 Only unset $g['booting'] when it was set here 2013-12-24 12:42:45 -02:00
Renato Botelho
8a461f41db Make sure functions called by rc.start_packages can see $g['booting'] when we are booting 2013-12-24 12:15:44 -02:00
Phil Davis
e205bdb719 Support different package internal name 2012-12-14 22:33:01 +05:45
phildd
dd9e0bdb55 Change rcfileprefix to a constant 2012-08-07 16:08:17 +05:45
jim-p
4593069602 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. 2012-06-23 13:25:03 -04:00
jim-p
dfa6dedad7 Fix array parsing of rc files. Resolves #1541 2011-05-19 12:51:58 -04:00
Ermal
6c19757e15 Restore running custom scripts under /usr/local/etc/rc.d directory since it causes regressions and its a feature used by many users. 2011-05-18 22:40:24 +00:00
Ermal
b5058001d4 Do not call stop_service since its already called from start_service itself. 2011-05-17 22:20:53 +00:00
Ermal
f1dbcf4741 Actually sync_package before starting it again. Also include restart in the log message since it might be like that. 2011-05-17 22:18:10 +00:00
Ermal
aed6fc725e 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! 2011-05-17 22:14:34 +00:00
Scott Ullrich
8e1ee760fa Do not output Syncing packages twice, once is enough. 2007-02-23 01:24:54 +00:00
Scott Ullrich
3a9435c2ab php and shell code dont match too well! 2007-02-22 20:41:30 +00:00
Scott Ullrich
5c76bd722b Set package output mode to console 2007-02-22 18:57:10 +00:00
Scott Ullrich
43511be85c * Move stop package code out to it's own file rc.stop_packages 2006-11-17 15:46:40 +00:00
Bill Marquette
0a972a1a30 MFC [15083]
Ticket #1145: Don't background the stop process, we really do need to stop the daemon before it tries to start again
2006-10-22 04:47:30 +00:00
Bill Marquette
477135b97c Ticket #1124 - fix wording
MFC of commit [15039]
2006-10-14 14:23:15 +00:00
Scott Ullrich
c1f46b20c9 Stop packages before restarting. 2006-10-06 23:30:16 +00:00
Scott Ullrich
969d7f5ed5 Add rc.start_packages file 2006-10-01 00:55:48 +00:00