GithubHelp home page GithubHelp logo

Comments (4)

trifa13 avatar trifa13 commented on June 8, 2024 1

I've just tested it with the nightly build and it works as expected. Closing the issue...
Thanks

from dietpi-dashboard.

MichaIng avatar MichaIng commented on June 8, 2024

Probably it looks for the config.toml in the current directory rather than the directory where the executable is located. But then our service shouldn't work either as it doesn't set the working directory 🤔.

from dietpi-dashboard.

MichaIng avatar MichaIng commented on June 8, 2024

Works well with the default service shipped by dietpi-software:

~# systemctl cat dietpi-dashboard.service
# /etc/systemd/system/dietpi-dashboard.service
[Unit]
Description=Web Dashboard (DietPi)
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/opt/dietpi-dashboard/dietpi-dashboard

StandardInput=tty
TTYPath=/dev/tty42
StandardOutput=journal

[Install]
WantedBy=multi-user.target

Also running the binary from a different directory works 🤔:

~# /opt/dietpi-dashboard/dietpi-dashboard
INFO [warp::server] Server::run; addr=0.0.0.0:8089
INFO [warp::server] listening on http://0.0.0.0:8089

Tested with latest nightly build.

from dietpi-dashboard.

ravenclaw900 avatar ravenclaw900 commented on June 8, 2024

I actually just fixed this issue (5965551). It should work with the latest stable or nightly.

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.