Désactivation Lidarr
This commit is contained in:
parent
e8c6fd7535
commit
f944ef80d7
6 changed files with 1 additions and 63 deletions
|
@ -1,24 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
systemd.services.lidarr = {
|
||||
description = "Lidarr";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
User = "lidarr";
|
||||
Group = "lidarr";
|
||||
ExecStart = "${pkgs.lidarr}/bin/lidarr";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
users.extraUsers.lidarr = {
|
||||
home = "/var/lib/lidarr";
|
||||
createHome = true;
|
||||
group = "lidarr";
|
||||
isSystemUser = true;
|
||||
};
|
||||
|
||||
users.extraGroups.lidarr = {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue