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" ];
wantedBy = [ "multi-user.target" ];
description = "user service for the actual budgeting server instance";
environment = {
ACTUAL_PORT = 9002;
};
serviceConfig = {
type = "simple";
ExecStart = "ACTUAL_PORT=9002 ${pkgs.actual-server}";
Type = "simple";
ExecStart = "${pkgs.actual-server}";
Restart = "on-failure";
RestartSec = 3;
};