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 using 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?

  • curbstickle@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 months ago

    The nice thing about some battery backup is not keeping it running during an outage, but safely shutting it all down.

    I agree on the laptop battery, I’m just disagreeing on battery backup. It serves a purpose, as does decent surge elimination.

    • leisesprecher@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      12
      ·
      1 month ago

      But not for us.

      That’s what I meant by larping. The vast vast majority of us here would probably not even notice if their systems went down for an hour. Yes, battery backup has its purpose. In a datacenter.

      I mean, what’s on the line here in the worst case? 15min without jellyfin and home assistant? Does that warrant taking risks with old batteries or investing in new ones?

      That equation might change if you’re in a place with truly unreliable electricity, but I guess those places have solutions in place already.

      • curbstickle@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        edit-2
        1 month ago

        No, hard disagree.

        I have many thousands of dollars worth of hardware. I have seen the results of a surge. I have seen a NAS reduced to a paper weight. You’re making incredibly silly assumptions here - this has nothing to do with uptime, and everything to do with protecting your equipment.

        You will not ever convince me otherwise, because I’m not willing to dump thousands of dollars on replacements because someone on the internet thinks it has anything to do with uptime.

        You are wrong.

        Edit: anywhere that weather exists is an area with “unreliable electricity”. Full stop.

        • leisesprecher@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          8
          ·
          1 month ago

          Oh come on, are you really that boneheaded not to understand that you’re not the norm?

          I literally had not a single power surge in my entire life. The only power outages I had were for a few minutes maybe three times in the last 15 years.

          The larping refers to you. Either you are truly an outlier who actually runs a small DC, or you just like the feeling you can get pretending to do so.

          Your attitude is roughly the “only gold plated cables made from solid silver” equivalent in audiophiles. Technically maybe correct, practically a self-important waste of money.

          • curbstickle@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            edit-2
            1 month ago

            Its not correct actually, there will never be a difference in audio signal in any of those cables you’re talking about, that’s marketing nonsense. The biggest risk to audio signals is induction caused by nearby power, run parallel for more than 3’ within inches of each other. Regardless.

            And yes, you’ve had surges. You won’t notice them in general, but your line is not going to be a perfect 120V at each outlet at all times. If you have a cheap surge protector and open them up, the MOVs in there have degraded, and I bet a few of them have popped if you have used them long enough. Everything looks fine when the lights come back on, the blinky lights on your hardware start blinking, but you just had a surge.

            Your power supplies in those electronics will.

            They will degrade faster when those minor surges and drops happen. When you have a brownout or a blackout, when the power comes back there is an in rush of current.

            You can choose to let your hardware die faster because you don’t want to take basic precautions, I don’t care. But as someone who knows better, I won’t. You say you’ve never had any surge? You probably think that a surge is just a lightning strike or something, which it isn’t. That, like the gold plated cables nonsense, is also marketing junk. In part because those crappy MOVs in cheap surge strips can’t handle an actually large surge

            I’ll also take the extra step of making sure my devices shut down cleanly, avoiding data loss, because that’s an unnecessary problem to have.

            You can think whatever you want, but I’m not going to waste my money replacing hardware or my time fixing an installation, especially for something that’s a tiny fraction of the cost of the devices its connected to, regardless of what magical electrical service you claim to have that’s always a perfect 120v delivered to every outlet.

      • BCsven@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        We have blippy power in the windy season, a 1 second outage was enough to trash hardware, not to mention dirty power you may not visibly notice. My UPS kicks in every few weeks for a few seconds to provide clean power when the utility is falling short or over volting. Having a battery take over is super helpful

      • Darth_Mew@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        1 month ago

        you speak for everyone in here? OP doesn’t even mention jellyfin or HA. are you an asshole irl or just larping here as one?