"use strict";(self.webpackChunkdocs_site=self.webpackChunkdocs_site||[]).push([[865],{1255:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>h,frontMatter:()=>i,metadata:()=>s,toc:()=>l});const s=JSON.parse('{"id":"usage/service-control","title":"Control the Service","description":"Windows / macOS","source":"@site/i18n/en/docusaurus-plugin-content-docs/current/usage/service-control.md","sourceDirName":"usage","slug":"/usage/service-control","permalink":"/docs/en/usage/service-control","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Usage Overview","permalink":"/docs/en/usage/"},"next":{"title":"Device List","permalink":"/docs/en/usage/device-list"}}');var o=t(4848),r=t(8453);const i={sidebar_position:1},c="Control the Service",a={},l=[{value:"Windows / macOS",id:"windows--macos",level:2},{value:"Linux",id:"linux",level:2},{value:"Docker / Compose",id:"docker--compose",level:2},{value:"Accessing the Console",id:"accessing-the-console",level:2},{value:"Auto Start and Updates",id:"auto-start-and-updates",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",header:"header",li:"li",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"control-the-service",children:"Control the Service"})}),"\n",(0,o.jsx)(n.h2,{id:"windows--macos",children:"Windows / macOS"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"When launched through the tray app, the backend service starts together with the tray."}),"\n",(0,o.jsxs)(n.li,{children:["To stop it, choose ",(0,o.jsx)(n.code,{children:"Exit"})," from the tray menu."]}),"\n",(0,o.jsxs)(n.li,{children:["For troubleshooting, you can use ",(0,o.jsx)(n.code,{children:"start-backend.cmd"})," or ",(0,o.jsx)(n.code,{children:"start-backend.command"})," to launch the backend in terminal mode."]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"linux",children:"Linux"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["Linux packages are usually started by running the backend binary directly or with ",(0,o.jsx)(n.code,{children:"start-backend.sh"}),"."]}),"\n",(0,o.jsx)(n.li,{children:"Close the terminal window or stop the process to shut the service down."}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"docker--compose",children:"Docker / Compose"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["If you started the app with ",(0,o.jsx)(n.code,{children:"docker compose up -d"}),", container lifecycle management controls the service."]}),"\n",(0,o.jsxs)(n.li,{children:["Use ",(0,o.jsx)(n.code,{children:"docker compose down"})," to stop it."]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"accessing-the-console",children:"Accessing the Console"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"In tray mode, the app will usually open the web console for you automatically."}),"\n",(0,o.jsxs)(n.li,{children:["If the browser does not open, you can open ",(0,o.jsx)(n.code,{children:"http://127.0.0.1:46990/"})," manually."]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"auto-start-and-updates",children:"Auto Start and Updates"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"If you want it to start with the system, add the tray app or backend program to system startup."}),"\n",(0,o.jsx)(n.li,{children:"When an update is applied from the update panel, the app may restart automatically."}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>c});var s=t(6540);const o={},r=s.createContext(o);function i(e){const n=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]);