GithubHelp home page GithubHelp logo

Comments (3)

ravenclaw900 avatar ravenclaw900 commented on May 30, 2024

Hello,
To be clear, along with stop/start, you also want mask/unmask shown in the Services page?

from dietpi-dashboard.

id4vip avatar id4vip commented on May 30, 2024

yes, exactly that thing. with that it is very handy to temporary suspend all unneeded applications. & whenever that application needed just switch on that through dietpi-dashboard. it will help reduce hardware resources in long run as well as less active applications reduce system hacking exposure.

from dietpi-dashboard.

MichaIng avatar MichaIng commented on May 30, 2024

Good idea. I want to get rid of the dietpi-services startup at boot but have all services "enabled" instead and regularly started by systemd. This just requires a lot of "After=" additions to the systemd units to assure backends/databases are started before frontend applications. When this is done, enable/disable switch to not start a service at boot would be great as well. That way it it can be still started manually without the need to first unmask it.


Ah, one note about masking: When a service file is located in /etc/systemd/system, it cannot be masked, since this is the location where the symlink to /dev/null would be created. This is the case for all systemd units which are not shipped by packages or installers but created by dietpi-software itself as an addition or overwrite. We may move services to /usr/local/lib/systemd/system for that reason, but this is not yet the case. So this is something to keep in mind. Probably the existence of the file in /etc/systemd/system could be even checked and the mask/unmask switch hidden in this case.

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.