Giter VIP home page Giter VIP logo

Comments (10)

LuKePicci avatar LuKePicci commented on July 1, 2024 2

If we're not interested in logs we could do what salfter switch does, it just attaches the running screen job to a new guake tab. Clearly alll running checks done in 3main should be revised to make sure both screen job and guake tab are up, not only the latter, more or less as like as already done for watchdog and tempcontrol

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

The reason I tried to move all scripts to screen and tail their logs while local is set is that restarting 3main create new guake tabs for each and users were so unhappy with too many guake tabs.

0miner is just a caller script, it just call miner and exits, no need guake or screen.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024

I think that's pretty nice, would it be doable with all other jobs like log_rotate and 7telegram?

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

Totally doable,
I should check if 3main kill and re-up them when restarted like what it does with temp control.
Or you think we should run all scripts in screen and tail theri log while local is selected?

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024

As long as they are non-interactive jobs I think the second option is a good way to go. Such that we can also read those logs in a consistent way wrt other jobs like miner, watchdog and tempcontrol. And as a great side-effect we could also avoid exporting NVOCpath every here and there.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024

If you manage to do it for 7telegram, log_rotate, upPASTE, and 8wtm_* you can address #46 + #47 and remove export directive I put in those scripts.

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

Log_rotate, upPaste, Auto_restart, Telegram and others like those dont have any important logs to be written and keep, and none of them get re-up by 3main or other scripts.
Launching them in screen will cause problem for those who get used to do "pkill -e screen" to restart miner and other scripts that kill screens when needed.

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

I forgot to move 8wtm to screen, I have done it long ago on my rigs. will change that

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024

pkill -f 3main should work and restart every other job, isn't correct?

Also considering to log those other jobs may be a good idea, for example logging 1bash updates by upPASTE, reboots, telegram api failures (it happened to me just last week because of too long messages were being sent)

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

It sure restart the jobs needed to be restarted
But do we need all those unnecessary log files and create too many screenrc.conf for each of them just to tail their repeating output ?
Let them live at their habitats, when we decide to migrate from guake we think about them.

from nvoc_by_fullzero_community_release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.