GithubHelp home page GithubHelp logo

Comments (4)

MichaIng avatar MichaIng commented on May 30, 2024 1

This will be the problem: https://github.com/ravenclaw900/DietPi-Dashboard/blob/da0841b/src/backend/src/systemdata.rs#L333

On Buster and Stretch the colon is somehow missing

2021-11-06 16:43:25 root@VM-Buster:~# /boot/dietpi/dietpi-services status

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: status

[  OK  ] DietPi-Services | cron                 active (running) since Sat 2021-11-06 16:18:33 CET; 25min ago
[  OK  ] DietPi-Services | dropbear             active (running) since Sat 2021-11-06 15:32:35 CET; 1h 10min ago
[ INFO ] DietPi-Services | dietpi-vpn           inactive (dead)
[  OK  ] DietPi-Services | dietpi-dashboard     active (running) since Sat 2021-11-06 16:43:25 CET; 10s ago
[  OK  ] DietPi-Services | dietpi-ramlog        active (exited) since Sat 2021-11-06 15:32:35 CET; 1h 11min ago
[  OK  ] DietPi-Services | dietpi-preboot       active (exited) since Sat 2021-11-06 15:32:35 CET; 1h 11min ago
[  OK  ] DietPi-Services | dietpi-postboot      active (exited) since Sat 2021-11-06 15:32:35 CET; 1h 11min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  inactive (dead)

On Bullseye

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: status

[  OK  ] DietPi-Services | cron                 : active (running) since Sat 2021-11-06 16:18:48 CET; 24min ago
[  OK  ] DietPi-Services | dropbear             : active (running) since Sat 2021-11-06 15:33:59 CET; 1h 9min ago
[ INFO ] DietPi-Services | dietpi-vpn           : inactive (dead)
[  OK  ] DietPi-Services | dietpi-dashboard     : active (running) since Sat 2021-11-06 16:18:48 CET; 24min ago
[  OK  ] DietPi-Services | dietpi-ramlog        : active (exited) since Sat 2021-11-06 15:33:59 CET; 1h 9min ago
[  OK  ] DietPi-Services | dietpi-preboot       : active (exited) since Sat 2021-11-06 15:33:59 CET; 1h 9min ago
[  OK  ] DietPi-Services | dietpi-postboot      : active (exited) since Sat 2021-11-06 15:33:59 CET; 1h 9min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  : inactive (dead)

I'll fix that DietPi wise to align the status output on all distro versions.

from dietpi-dashboard.

MichaIng avatar MichaIng commented on May 30, 2024

The problem is that the colon is actually not intended, so it is removed with the fix. I hope tab characters are preserved, as this is what is assured to separate the service name from the status?

from dietpi-dashboard.

ravenclaw900 avatar ravenclaw900 commented on May 30, 2024

Yes, I'll change it to use the tabs.

from dietpi-dashboard.

MichaIng avatar MichaIng commented on May 30, 2024

Okay great. I pushed the dietpi-services change as well: MichaIng/DietPi@4664307

from dietpi-dashboard.

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.