fixed permissions and added watch to otf
This commit is contained in:
parent
59afc00f4b
commit
5b9e1da49d
2 changed files with 3 additions and 2 deletions
|
|
@ -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 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
otfenv = {
|
||||
owner = "otf";
|
||||
group = "otf";
|
||||
mode = "0440";
|
||||
mode = "0550";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue