bloop: fix service

bloop uses 'start' command now which starts daemon in the background
This commit is contained in:
Evgeny Kurnevsky 2024-11-25 11:40:14 +01:00
parent 86d22fd32f
commit 87647a1bf9
No known key found for this signature in database
GPG Key ID: 8FF444E5412D750C

View File

@ -43,8 +43,9 @@ in {
PATH = mkForce "${makeBinPath [ config.programs.java.package ]}";
};
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.bloop}/bin/bloop server";
Type = "forking";
ExecStart = "${pkgs.bloop}/bin/bloop start";
ExecStop = "${pkgs.bloop}/bin/bloop exit";
Restart = "always";
};
};