Merge pull request #39478 from pngwjpgh/infinoted

nixos/infinoted: Abstract over libinfinity version
This commit is contained in:
Matthew Justin Bauer
2018-05-01 10:22:25 -05:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ in {
serviceConfig = {
Type = "simple";
Restart = "always";
ExecStart = "${cfg.package}/bin/infinoted-0.6 --config-file=/var/lib/infinoted/infinoted.conf";
ExecStart = "${cfg.package}/bin/infinoted-${versions.majorMinor cfg.package.version} --config-file=/var/lib/infinoted/infinoted.conf";
User = cfg.user;
Group = cfg.group;
PermissionsStartOnly = true;