1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00

youtrack service: restart on failure

This commit is contained in:
Nikolay Amiantov 2021-11-20 23:52:50 +03:00
parent e55d12da43
commit 497d334c14

View file

@ -128,6 +128,7 @@ in
Type = "simple";
User = "youtrack";
Group = "youtrack";
Restart = "on-failure";
ExecStart = ''${cfg.package}/bin/youtrack --J-Xmx${cfg.maxMemory} --J-XX:MaxMetaspaceSize=${cfg.maxMetaspaceSize} ${cfg.jvmOpts} ${cfg.address}:${toString cfg.port}'';
};
};