I have an old ThinkPad 11e running Debian that I have repurposed into a home server. It’s only supposed to run TVheadend. I don’t need any other services for now, but later on i might add a few uding docker.

Is it enough to set multiuser.target as default to disable gui and keep the system always on?

How can I disable all unnecessary services and minimize power usage?

hendrik
link
fedilink
English
5
edit-2
16h

I usually do the expert install and don’t install a graphical environment in the first place. But your solution should be fine, too. I think you can show running services with systemctl and then disable unneeded ones. For example systemctl disable gdm but there shouldn’t be that much running on a plain Debian anyways.

For powersave I run powertop in auto-tune mode as a systemd service. A description is here: https://wiki.archlinux.org/title/Powertop

Unfortunately, the Debian Wiki doesn’t seem to have a lot on laptop power saving. The Arch wiki has some more (random) info: https://wiki.archlinux.org/title/Power_management

I’d say do the powertop systemd service on startup, set the multiuser target or disable the login manager and that’s it.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 189 users / day
  • 406 users / week
  • 1.08K users / month
  • 3.98K users / 6 months
  • 1 subscriber
  • 3.56K Posts
  • 71.5K Comments
  • Modlog