mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/kimai: fix incorrect service name for PHP-FPM service mixin
'systemd.services' will append '.service' suffix, so the extra '.service' shouldn't be there. This fixes setting environment file.
This commit is contained in:
parent
4a936cc904
commit
a1b3091db8
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ in
|
||||||
|
|
||||||
(mapAttrs' (
|
(mapAttrs' (
|
||||||
hostName: cfg:
|
hostName: cfg:
|
||||||
(nameValuePair "phpfpm-kimai-${hostName}.service" {
|
(nameValuePair "phpfpm-kimai-${hostName}" {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
EnvironmentFile = [ cfg.environmentFile ];
|
EnvironmentFile = [ cfg.environmentFile ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue