Move pastebin-stream configuration directly into the createJsonConfiguration call

master
Sven Slootweg 7 years ago
parent e717d59a4a
commit 57361fe86a

@ -8,24 +8,22 @@
in
{errorPath, debugMode ? false, rev, sha256}:
let
configuration = {
errors = {
directory = errorPath;
};
configurationFile = createJsonConfiguration {
name = "pastebin-stream-configuration.json";
contents = {
errors = {
directory = errorPath;
};
scraperSettings = {
pastebinCom = {
listInterval = 60;
listLimit = 100;
pasteInterval = 1;
scraperSettings = {
pastebinCom = {
listInterval = 60;
listLimit = 100;
pasteInterval = 1;
};
};
};
};
configurationFile = createJsonConfiguration {
name = "pastebin-stream-configuration.json";
contents = configuration;
};
in
nodeApplication {
name = "pastebin-stream";

Loading…
Cancel
Save