- Notifications
You must be signed in to change notification settings - Fork370
Implement daemon mode#351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
szepeviktor commentedFeb 5, 2018
Any word about it in the README? |
marcj commentedFeb 5, 2018
We can't use code from a different license if it's just simply copied. If it's inspired or is a construct that is used also everywhere else (like in the documentation, tutorials etc) then we don't need the reference to phlib/console-process as those stuff is not licensable. I personally don't see anything that is defendable although I haven't checked the origin and don't know how hard you copied, if you even did. |
andig commentedFeb 5, 2018
Imho they could chose to relicense for us. I've opened an issue at that project. If you have objections please feel free to close but I'm lacking capacity to start over :/ |
chrisminett commentedFeb 6, 2018
Hi, I'm a maintainer at phlib/console-process It's fine with us! See comment atphlib/console-process#4 Cheers, |
665c8fd to4f36839Compareandig commentedAug 24, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I've updated and simplified the PR. |
83b15b1 to30d126aComparemarcj commentedOct 22, 2018
What is the main processes dies? Will it automatically restart? |
andig commentedOct 22, 2018
No, thats nothing I‘ve considered. Should be done via systemctrl daemon setting? |
mowangjuanzi commentedJan 4, 2020
When will it be merged to master? I need it |
acasademont commentedAug 7, 2020
Hi@andig should we move forward with this one? |
| if ($output->isVerbose()) { | ||
| $output->writeln('Daemonized'); | ||
| } | ||
| returnnull; |
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.
Asthis project supports Symfony 5, the return value of a commandsexecute method must be an integer. While it isnot part of the methods signature in the abstractCommand class, it is stillvalidated and an exception will be thrown for any non-integer return value. So I suggest, you change this toreturn 0; along with the other return statement below.
andig commentedAug 7, 2020
Up to you. We‘ve had this around for so long I wouldn‘t mind closing although there seems to be some positive comments. |
Some code is borrowed fromhttps://github.com/phlib/console-process (LGPL)- need to double-check if that is ok