Add systemd notification on listener available

This commit is contained in:
bluepython508
2024-09-26 08:47:39 +01:00
parent 4958944cb8
commit 66cb85ec1d
5 changed files with 8 additions and 2 deletions

View File

@@ -50,8 +50,10 @@
systemd.user.services.frajtano = {
Unit.Description = "frajtano";
Unit.After = ["default.target"];
Service.Type = "notify";
Service.Environment = ["'FRAJTANO_DIR=${cfg.dir}'"];
Service.ExecStart = "${self.packages.${pkgs.system}.default}/bin/frajtano start";
Service.ExecSearchPath = ["${self.packages.${pkgs.system}.default}/bin"];
Service.ExecStart = "frajtano start";
Install.WantedBy = ["default.target"];
};