|
|
|
@ -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";
|
|
|
|
|