authelia: fix restartUnits service name

This commit is contained in:
ibizaman 2026-01-25 11:55:23 +01:00
parent 6d03788c49
commit 1f3f577e25

View file

@ -89,7 +89,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}" ]; restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}.service" ];
}; };
}; };
}; };
@ -99,7 +99,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}" ]; restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}.service" ];
}; };
}; };
}; };
@ -109,7 +109,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}" ]; restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}.service" ];
}; };
}; };
}; };
@ -119,7 +119,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}" ]; restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}.service" ];
}; };
}; };
}; };
@ -129,7 +129,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}" ]; restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}.service" ];
}; };
}; };
}; };
@ -143,7 +143,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}" ]; restartUnits = [ "authelia-${opt.subdomain}.${opt.domain}.service" ];
}; };
}; };
}; };
@ -323,7 +323,7 @@ in
options = shb.contracts.secret.mkRequester { options = shb.contracts.secret.mkRequester {
mode = "0400"; mode = "0400";
owner = cfg.autheliaUser; owner = cfg.autheliaUser;
restartUnits = [ "authelia-${fqdn}" ]; restartUnits = [ "authelia-${fqdn}.service" ];
}; };
}; };
}; };