Skip to content

Commit

Permalink
fix config path
Browse files Browse the repository at this point in the history
  • Loading branch information
ingon committed Jan 24, 2025
1 parent a615ffd commit bac8e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ in
serviceConfig = {
User = cfg.user;
Group = cfg.group;
ExecStart = "${cfg.package}/bin/connet ${if role == "client" then "" else "${role} "} --config /etc/connet.toml";
ExecStart = "${cfg.package}/bin/connet ${if role == "client" then "" else "${role} "} --config /etc/connet-${role}.toml";
Restart = "on-failure";
} // lib.optionalAttrs noStorageSpec {
StateDirectory = "connet-${role}";
Expand Down

0 comments on commit bac8e92

Please sign in to comment.