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