forked from foreversd/forever
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] Replace
daemon.node
with child_process.fork
It isn't perfect yet, but it works in `node v0.6`.
- Loading branch information
Showing
1 changed file
with
9 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31fcd47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
daemon.node was not working on OpenBSD 5.0 (undefined symbol 'ev_default_loop_ptr').
So, this rewrite is perfect, no longer getting the undefined symbol runtime-error (limited testing so far).
Hope it makes it to the official version so I can use npm to install.
31fcd47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course it will! :)
We're doing quite a different thing now which should make forever more stable (see
rewrite
branch). Stay tuned!31fcd47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the tip.
I fetched the rewrite branch, applied this fix + the cli.js fix (to get it working on OpenBSD 5.0 / node v0.6.5).
The thing I can't seem to get working are the log-files don't see any being created (-l forever.log -o out.log -e err.log).