"use strict";const{setProcessName:o}=require("../common/helper/process");o("document-server");const e=require("../common/local-control");const{DocumentApplication:n}=require("./lib/Application");const c="/run/synoffice/document_internal.sock";var s;function t(){s.onExit().then((function(){process.exit(0)}))}process.on("SIGINT",t);process.on("SIGTERM",t);s=new n;e(s).listen(c);