fixed permissions and added watch to otf

This commit is contained in:
Jermeiah S 2025-06-14 23:05:07 -04:00
parent 59afc00f4b
commit 5b9e1da49d
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -35,7 +35,7 @@ in
])
);
default = {
OTF_ADDRESS = "localhost:9000";
# OTF_ADDRESS = "localhost:9000";
# OTF_SITE_TOKEN = "my-token";
# OTF_SSL = "false";
# OTF_SECRET = "";
@ -87,6 +87,7 @@ in
ExecStart = "${cfg.package}/bin/otfd";
Restart = "on-failure";
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
WatchPaths = lib.mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
};
};
};

View file

@ -15,7 +15,7 @@
otfenv = {
owner = "otf";
group = "otf";
mode = "0440";
mode = "0550";
};
};
};