Closed
Bug 230468
Opened 21 years ago
Closed 21 years ago
RFE: mozilla should provide a simple way to run custom shell scripts at mozilla startup and shutdown
Categories
(SeaMonkey :: Build Config, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: roland.mainz, Assigned: roland.mainz)
References
Details
Attachments
(1 file, 1 obsolete file)
2.64 KB,
patch
|
benjamin
:
review+
leaf
:
superreview+
|
Details | Diff | Splinter Review |
RFE: mozilla should provide a simple way to run custom shell scripts at mozilla
startup and shutdown
Possible purposes:
- Set/Unset font paths
- Set additional environment variables without modifying the mozilla scripts
directly
- Start and stop additional applications/shell scripts before mozilla startup
and after shutdown
Design:
The new functionality should work like this:
- Placing a script "S01" into ${MOZILLA_FIVE_HOME}/init.d/ cases the script to
be executed at Mozilla startup.
- Placing a script "K01" into ${MOZILLA_FIVE_HOME}/init.d/ cases the script to
be executed at Mozilla shutdown.
- Startup/shutdown scripts ending with *.sh will be executed "inline" as part of
"run-mozilla.sh", being able to set/alter existing env variables to fix the
needs of the user.
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•21 years ago
|
||
Note that this new patch does not affect the GRE setup in any way so the
"political" problems ("no scripts used by GRE. Never. Ever!") discussed in bug
226803 do not apply here.
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 138678 [details] [diff] [review]
Patch for 2004-01-07-trunk
Requesting r= ...
Attachment #138678 -
Flags: review?(leaf)
Assignee | ||
Comment 3•21 years ago
|
||
The new patch allows that other consumers of the script can set their own value
for MOZ_USER_DIR and run-mozilla.sh is now called inline, saving a few CPU
cycles.
Attachment #138678 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #138681 -
Flags: review?(leaf)
Assignee | ||
Updated•21 years ago
|
Attachment #138678 -
Flags: review?(leaf)
Assignee | ||
Updated•21 years ago
|
Blocks: solarispatchchecker
Comment 4•21 years ago
|
||
Comment on attachment 138681 [details] [diff] [review]
Better patch for 2004-01-07-trunk
ok, I'm convinced this is OK for the seamonkey client. Please don't check this
in without MOA=leaf.
Attachment #138681 -
Flags: review?(leaf) → review+
Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 138681 [details] [diff] [review]
Better patch for 2004-01-07-trunk
Requesting moa=leaf ...
Attachment #138681 -
Flags: superreview?(leaf)
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 138681 [details] [diff] [review]
Better patch for 2004-01-07-trunk
leaf: ping!
Comment 7•21 years ago
|
||
Comment on attachment 138681 [details] [diff] [review]
Better patch for 2004-01-07-trunk
super-rheeet=leaf
Attachment #138681 -
Flags: superreview?(leaf) → superreview+
Comment 8•21 years ago
|
||
Checking in Makefile.in;
/cvsroot/mozilla/xpfe/bootstrap/Makefile.in,v <-- Makefile.in
new revision: 1.248; previous revision: 1.247
done
Checking in mozilla.in;
/cvsroot/mozilla/xpfe/bootstrap/mozilla.in,v <-- mozilla.in
new revision: 1.4; previous revision: 1.3
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 9•21 years ago
|
||
could this have caused Bug 233014, starting BuildID 1.7.0.2004020317 ?
Bug 233014 default install into windows\program files directory, erases files
Comment 10•21 years ago
|
||
has this patch been tested under windows ?
Assignee | ||
Comment 11•21 years ago
|
||
Hermann Schwab wrote:
> could this have caused Bug 233014, starting BuildID 1.7.0.2004020317 ?
> Bug 233014 default install into windows\program files directory, erases files
How should this patch affect windows ? The script is AFAIK only used on
Unix/Linux ...
Assignee | ||
Comment 12•21 years ago
|
||
Bernd wrote:
> has this patch been tested under windows ?
No... the only thing I did was to search the windows ZIP archives whether the
script is present in these tarballs. Since there were no hit I assumed Windows
is not affected by this change.
Comment 13•21 years ago
|
||
When using 'make install' to install a build, I wind up with these extra init.d
dirs under /usr/local/bin/ . Since those are mozilla specific, they should be
placed under the $mozappdir not $bindir .
Assignee | ||
Comment 14•21 years ago
|
||
cls wrote:
> When using 'make install' to install a build, I wind up with these extra
> init.d dirs under /usr/local/bin/ . Since those are mozilla specific, they
> should be placed under the $mozappdir not $bindir
OK; I'll fix that as part of bug 234124 ("RFE: Port the pluggable shell script
API to FireFox/ThunderBird/SunBird etc") ...
Blocks: 234124
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•