canto-daemon: Fix typo and remove TimeoutStopSec
This commit is contained in:
parent
37f58c4f46
commit
a9ac564f50
|
@ -12,7 +12,7 @@ in {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.canto-daemon {
|
services.canto-daemon = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
@ -26,12 +26,12 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
systemd.user.services.canto-next = {
|
systemd.user.services.canto-daemon = {
|
||||||
description = "Canto RSS Daemon";
|
description = "Canto RSS Daemon";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
serviceConfig.ExecStart = "${pkgs.canto-daemon}/bin/canto-daemon";
|
serviceConfig.ExecStart = "${pkgs.canto-daemon}/bin/canto-daemon";
|
||||||
TimeoutStopSec = 10;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue