adapts actual server config
This commit is contained in:
parent
a167bdad8d
commit
0acd98a8a5
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue