Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #6685. See kostya/eye@866ecd0
- Loading branch information
Steffen van Bergerem
committed
Feb 11, 2016
1 parent
c9a3256
commit 269512c
Showing
1 changed file
with
1 addition
and
1 deletion.
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
2 comments
on commit 269512c
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.
The greater ecosystem is moving towards not doing self demonization, see http://www.mikeperham.com/2014/09/22/dont-daemonize-your-daemons/ for some rationale for that move.
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.
Learned something new, thank you!
Hi there! First of all: Amazing work on all this! So in ❤️
Secondly: What's the rationale for using
loader_eye
? According to the official wiki, "loader_eye
is just internal server runner (without daemonization), not for common usage, can be used for test eye server".Rather than telling people to use
nohup
/screen
/tmux
when running./script/server
[e.g. here], wouldn't it be preferable to use the standard functionality of eye that already runs as a daemon?For example, I'm starting my production server by running
nohup ./script/server &
.Doing this, I don't actually know if the server was started correctly or not, since all output is directed into a file. I remain unaware of messages such as "You're running in production mode without having your assets precompiled..." and other fatal output until I actually check that file.
If eye was set up to start as a daemon, I would not have to run server/script as a background process, which would mean that I would either see one of these fatal messages or I would see "Eye started! ㋡".