Skip to content

Commit

Permalink
nix/module.nix: Have systemd create state directory.
Browse files Browse the repository at this point in the history
Fixes: #5
  • Loading branch information
jpds committed May 3, 2024
1 parent 425c747 commit 11c6e8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ in {
+ (lib.optionalString cfg.services.comin.debug "--debug ")
+ " run "
+ "--config ${cominConfigYaml}";
Restart = "always";
Restart = "always";
StateDirectory = lib.mkIf (cominConfig.state_dir == "/var/lib/comin") "comin";
};
};
};
Expand Down

0 comments on commit 11c6e8c

Please sign in to comment.