add scraper for jellyfin
This commit is contained in:
parent
d16ef8b82e
commit
54d072dcd0
1 changed files with 9 additions and 0 deletions
|
@ -153,6 +153,15 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.prometheus.scrapeConfigs = [{
|
||||||
|
job_name = "jellyfin";
|
||||||
|
static_configs = [
|
||||||
|
{
|
||||||
|
targets = ["127.0.0.1:8096"];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
|
||||||
systemd.services.jellyfin.serviceConfig = {
|
systemd.services.jellyfin.serviceConfig = {
|
||||||
# Setup permissions needed for backups, as the backup user is member of the jellyfin group.
|
# Setup permissions needed for backups, as the backup user is member of the jellyfin group.
|
||||||
UMask = lib.mkForce "0027";
|
UMask = lib.mkForce "0027";
|
||||||
|
|
Loading…
Add table
Reference in a new issue