Skip to content

Commit

Permalink
services/sicp-staging: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Sep 25, 2024
1 parent 0326e81 commit edd5ed5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/profiles/services/sicp-staging/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ in
path = with pkgs; [
openjdk
];
unitConfig = {
ConditionPathExists = "/var/lib/sicp-staging/app.jar";
};
serviceConfig = {
User = config.users.users.sicp-staging.name;
Group = config.users.groups.sicp-staging.name;
StateDirectory = "sicp-staging";
WorkingDirectory = "/var/lib/sicp-staging";
ConditionPathExists = "/var/lib/sicp-staging/app.jar";
LoadCredential = [
"application.yml:${config.sops.templates."sicp-staging-application.yml".path}"
];
Expand Down

0 comments on commit edd5ed5

Please sign in to comment.