mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 14:40:19 +02:00
disabled not working systemd sonarr service
This commit is contained in:
parent
ab464b0200
commit
073bcdea2f
1 changed files with 20 additions and 19 deletions
|
@ -35,25 +35,26 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
|
#TODO: create duplicated instances of Sonarr.
|
||||||
|
systemd.services."sonarrAnime" = {
|
||||||
|
enable = true;
|
||||||
|
description = "Duplicated Sonarr instance, for animes";
|
||||||
|
after = [
|
||||||
|
"syslog.target"
|
||||||
|
"network.target"
|
||||||
|
];
|
||||||
|
|
||||||
#TODO: create duplicated instances of Sonarr.
|
path = [ pkgs.sonarr ];
|
||||||
systemd.services."sonarrAnime" = {
|
serviceConfig = {
|
||||||
enable = true;
|
Type = "simple";
|
||||||
description = "Duplicated Sonarr instance, for animes";
|
User = "sonarr";
|
||||||
after = [
|
ExecStart = "${pkgs.sonarr}/bin/Sonarr -nobrowser -data=/var/lib/sonarrAnime";
|
||||||
"syslog.target"
|
TimeoutStopSec = "20";
|
||||||
"network.target"
|
KillMode = "process";
|
||||||
];
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
path = [ pkgs.sonarr ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
|
||||||
Type = "simple";
|
|
||||||
User = "sonarr";
|
|
||||||
ExecStart = "${pkgs.sonarr}/bin/Sonarr -nobrowser -data=/var/lib/sonarrAnime";
|
|
||||||
TimeoutStopSec = "20";
|
|
||||||
KillMode = "process";
|
|
||||||
Restart = "on-failure";
|
|
||||||
};
|
};
|
||||||
wantedBy = [ "multi-user.target" ];
|
*/
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue