adapts actual server config

This commit is contained in:
Dennis 2025-10-17 10:27:02 +02:00
parent a167bdad8d
commit 0acd98a8a5

View file

@ -8,9 +8,12 @@
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
description = "user service for the actual budgeting server instance"; description = "user service for the actual budgeting server instance";
environment = {
ACTUAL_PORT = 9002;
};
serviceConfig = { serviceConfig = {
type = "simple"; Type = "simple";
ExecStart = "ACTUAL_PORT=9002 ${pkgs.actual-server}"; ExecStart = "${pkgs.actual-server}";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 3; RestartSec = 3;
}; };