You are not logged in.

#1 2021-03-19 13:25:58

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Headless - Media server

Hello all,

I am setting up an headless media server running Arch. The system will run Plex, PyLoad, Ampache, NextCloud.

However, I will not be solicited all the time and I want it to suspend itself when not in use.

FYI - I am setting up my router to wake it up using magic packet when something will request a file/access through the network.

Looking at the wiki, and reading online I am struggling to find how to achieve that without any DE?

Any help or pointer would be great.

Cheers

Offline

#2 2021-03-19 13:32:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Headless - Media server

https://wiki.archlinux.org/index.php/Wake-on-LAN ? Not sure what relevance a DE would have here or which DE would allow you to configure this.

Last edited by V1del (2021-03-19 13:32:53)

Online

#3 2021-03-19 13:35:26

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Re: Headless - Media server

Hello V1del,

thank you for your reply. Wake on LAN isn't the issue there - it''s working absolutely fine.

What I am after is how to configure the server to go into suspend when not required or working ?

Offline

#4 2021-03-19 13:35:31

progandy
Member
Registered: 2012-05-17
Posts: 5,196

Re: Headless - Media server

I'd guess you'll have to monitor the incoming connections and suspend when all are closed or something like that. Maybe also monitor cpu load, disk usage, ...
As a start: https://github.com/languitar/autosuspend


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB