Download Jar. Libraryless. Click here for Pure Java version (24959L/166K).
!7 //set flag NotifyingPrintLog. !include once #1002615 // master() // Options for big server. TODO: merge with OS args handling //sS vmArgs = "-XX:MaxHeapFreeRatio=70 -XX:MinHeapFreeRatio=40 -XX:+UseG1GC --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --illegal-access=permit --add-opens java.base/jdk.internal.module=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang.module=ALL-UNNAMED"; sS vmArgs = "-XX:MaxHeapFreeRatio=70 -XX:MinHeapFreeRatio=40 " + zgcOption() + " --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --illegal-access=permit --add-opens java.base/jdk.internal.module=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang.module=ALL-UNNAMED"; // Talk to Eleu, Web Auth, Cookies static L<S> seedBots = ll(#1002213, #1002590, #1002157, #1010504); !include #1002576 // Web Serving !include #1002578 // Eleu Core !include #1013904 // Eleu web socket static int[] webServerPorts = {80, 8080}; static int[] httpsPorts = {443, 8443}; static LS initialModuleIDs = ll( "#1018866/SystemPrintLog", "#1019954/TaskBar_dev" ); p { botNames = litmap( serve := "#1014036/raw", img := "#1014038/raw", mech := #1013927, images := #1004590, eleu := "#1002213/raw", "eleuraw" := "#1002076/raw", "don-enrico" := "#1006604/raw", wiki := "#1007510/raw", jobs := "#1007647/raw", chess := "#1012832/raw", files := "#1015408/raw", rules := "#1017959/raw", jar := "#1020140/raw", blog := "#1016323/raw", pages := "#1017992/raw"); print("new."); becomeBotVMIfFirst(); webInit(); eleu_webSocket_init(); if (nempty(httpsPorts)) pcall { /*File keystore = firstFileThatExists( javaxSecretDir("keystore.p12"), secretProgramFile(programID(), "keystore.jks"));*/ S pass = loadSecretTextFileMandatory("keystore-pass").trim(); //serveHttps(httpsPort, keystore, pass); //serveHttpsWithWebsockets(httpsPort, keystore, pass, eleu_webSocket_handler()); //serveHttpsWithWebsockets_server.printServes = false; //serveHttpsWithWebsockets_multiplePorts(keystore, pass, eleu_webSocket_handler(), httpsPorts); serveHttpsWithWebsockets_multiplePorts( //serverSocketFactory_botCompanyPlusAgiBlue(), serverSocketFactory_botCompanyEtc(), eleu_webSocket_handler(), httpsPorts); ownResource(serverSocketFactory_autoUpdate()); } coreInit(); for (S id : seedBots) call(getDispatcher(), "addSeedBot", id); if (hasBot("New Eleu Watch Dog.")) print("Have Eleu Watch Dog."); else { print("Starting Eleu Watch Dog."); nohupJavax(stringIf(usingLiveCodeDir(), "-livecode ") + psI(#1014075)); sleepSeconds(5); } // Start OS resetPrintLogToLocalLog(runWithUserHomeAndParams(#1016478, actualUserDir("JavaX-Virtual/eleu"), initialModules_override := voidfunc(O os) { dm_makeOrShowModules(initialModuleIDs) }, background := #1101737, mainIconID := #1101704)); }
Began life as a copy of #1002017
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): bhatertpkbcr, cfunsshuasjs, djztyncnmsck, gwrvuhgaqvyk, ishqpsrjomds, mqqgnosmbjvj, odhhsrjjbcgr, onxytkatvevr, pyentgdyhuwx, tvejysmllsmz, twycvekltchr, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1013896 |
Snippet name: | Eleutheria Main for butter.botcompany.de + Stefan's OS (LIVE) |
Eternal ID of this version: | #1013896/48 |
Text MD5: | 741c6a099bd94e0a6e31868d1c04f231 |
Transpilation MD5: | a0fb8c8528f5ad90c454e719d34c8993 |
Author: | stefan |
Category: | |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-22 12:02:14 |
Source code size: | 3125 bytes / 87 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 758 / 12399 |
Version history: | 47 change(s) |
Referenced in: | [show references] |